Sha256: d1eef3da18688c1635f93cd74598299c60d93fabb4816e167c4cde1f6766af48
Contents?: true
Size: 323 Bytes
Versions: 3
Compression:
Stored size: 323 Bytes
Contents
require 'action_mailer' class <%= class_name %> < ActionMailer::Base <% for action in actions -%> def <%= action %>(sent_on = Time.now) @subject = '<%= class_name %>#<%= action %>' @body = {} @recipients = '' @from = '' @sent_on = sent_on @headers = {} end <% end -%> end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rails-0.9.1 | generators/mailer/templates/mailer.rb |
rails-0.9.0 | generators/mailer/templates/mailer.rb |
rails-0.9.2 | generators/mailer/templates/mailer.rb |