Reputation: 23576
Are these two lines equivalent:
ActionMailer::Base.smtp_settings = {
config.action_mailer.smtp_settings ={
I'm trying to configure devise to send emails and have been looking at multiple guides. Some seem to use the top line, while others use the bottom.
I'm on rails 3.2. Is one of these new to 3.2?
Thanks
Upvotes: 0
Views: 736
Reputation: 3137
If you want to send email then use this guide. Both lines are Equivalent.
Upvotes: 2