app/mailers/suggestion_mailer.rb
# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:
#
#   en.suggestion_mailer.new_suggestion.subject
#
Subject can be set in your I18n file at config/locales/en.yml
with the following lookup.


Subject can be set in your I18n file at config / locales / en . yml with the following lookup .
def new_suggestion(suggestion)
    @suggestion = suggestion
      mail( :to => ENV['GMAIL_USERNAME'],
            :subject => @suggestion.subject
      )
  end
def new_suggestion ( suggestion ) @suggestion = suggestion mail ( :to => ENV [ 'GMAIL_USERNAME' ] , :subject => @suggestion . subject ) end
Subject can be set in your I18n file at config/locales/en.yml
with the following lookup:
Subject can be set in your I18n file at config / locales / en . yml with the following lookup :
suggestion