aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/rails/mailer/templates/mailer.rb
blob: ce15ae9de90635010f957b3b075c383014881950 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class <%= class_name %> < ActionMailer::Base
  
<% for action in actions -%>

  def <%= action %>(sent_at = Time.now)
    subject    '<%= class_name %>#<%= action %>'
    recipients ''
    from       ''
    sent_on    sent_at
    
    body       :greeting => 'Hi,'
  end
<% end -%>

end