app/mailers/comments_mailer.rb
# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:
#
#   en.comments_mailer.submitted.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 submitted(comment)
    @comment = comment
    mail to: "kannansvmail@gmail.com", subject: "New comments posted!"
  end
def submitted ( comment ) @comment = comment mail to : "kannansvmail@gmail.com" , subject : "New comments posted!" 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 :
comment