Browse Source

dry mail

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
ffa6b6a76b
  1. 2
      app/views/pages/contact.html.erb
  2. 4
      app/views/pages/help.html.erb
  3. 2
      config/initializers/devise.rb

2
app/views/pages/contact.html.erb

@ -5,7 +5,7 @@
<h1>Contact us</h1> <h1>Contact us</h1>
<p> <p>
Our email address is <a href="mailto:support@entrydns.net">support@entrydns.net</a> , Our email address is <%= mail_to Settings.support_mail %> ,
or you can contact us using the form below: or you can contact us using the form below:
</p> </p>

4
app/views/pages/help.html.erb

@ -8,7 +8,7 @@
<h3>I have an idea for an EntryDNS feature, who can I tell about it?</h3> <h3>I have an idea for an EntryDNS feature, who can I tell about it?</h3>
<p> <p>
We’d love to hear your idea. Please send an email to support@entrydns.net We’d love to hear your idea. Please send an email to <%= mail_to Settings.support_mail %>
</p> </p>
<h3>What support can I expect?</h3> <h3>What support can I expect?</h3>
@ -19,7 +19,7 @@
<h3>How can I contact you if I have a question?</h3> <h3>How can I contact you if I have a question?</h3>
<ul> <ul>
<li>E-Mail: <a href="mailto:support@entrydns.net">support@entrydns.net</a></li> <li>Email: <%= mail_to Settings.support_mail %></li>
<li>IRC: #entrydns on irc.freenode.net</li> <li>IRC: #entrydns on irc.freenode.net</li>
</ul> </ul>

2
config/initializers/devise.rb

@ -4,7 +4,7 @@ Devise.setup do |config|
# ==> Mailer Configuration # ==> Mailer Configuration
# Configure the e-mail address which will be shown in Devise::Mailer, # Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class with default "from" parameter. # note that it will be overwritten if you use your own mailer class with default "from" parameter.
config.mailer_sender = "support@entrydns.net" config.mailer_sender = Settings.support_mail
# Configure the class responsible to send e-mails. # Configure the class responsible to send e-mails.
# config.mailer = "Devise::Mailer" # config.mailer = "Devise::Mailer"

Loading…
Cancel
Save