lib/generators/goma/mailer/templates/mailer.rb in goma-0.0.1.beta vs lib/generators/goma/mailer/templates/mailer.rb in goma-0.0.1.gamma
- old
+ new
@@ -1,7 +1,7 @@
<% module_namespacing do -%>
class <%= class_name %> < ActionMailer::Base
- default from: "from@example.com"
+ default from: "<%= goma_config.mailer_sender %>"
<% goma_actions.each do |action, subject| -%>
# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:
#