Merge pull request #30 from Skud/fixemailinprod2

Fixemailinprod2
This commit is contained in:
Skud
2012-10-06 05:50:47 -07:00
2 changed files with 10 additions and 1 deletions

View File

@@ -5,4 +5,5 @@
%p You can confirm your account email through the link below:
%p = link_to 'Confirm my account', confirmation_url(@resource, :confirmation_token => @resource.confirmation_token)
%p
= link_to 'Confirm my account', confirmation_url(@resource, :confirmation_token => @resource.confirmation_token)

View File

@@ -66,5 +66,13 @@ module Growstuff
g.template_engine :haml
g.stylesheets false
end
config.action_mailer.delivery_method = :sendmail
config.action_mailer.sendmail_settings = {
:location => '/usr/sbin/sendmail',
:arguments => '-i -t',
:openssl_verify_mode => 'none'
}
end
end