blob: df9d0a09230ff8d965f747098be40436b6296b49 (
plain) (
tree)
|
|
class <%= class_name %> < ActionMailer::Base
self.defaults = { :from => "from@example.com" }
<% for action in actions -%>
# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:
#
# en.actionmailer.<%= file_name %>.<%= action %>.subject
#
def <%= action %>
@greeting = "Hi"
mail(:to => "to@example.org")
end
<% end -%>
end
|