Sha256: 1ae4489d8dbbae90fcdd65938c058e4f81bfb579e30afe21854eebcdb4c93875
Contents?: true
Size: 862 Bytes
Versions: 48
Compression:
Stored size: 862 Bytes
Contents
class <%= class_name -%>Mailer < ActionMailer::Base default :from => "no-reply@#{host}" def forgot_password(<%= name.underscore %>, key) @<%= name.underscore %>, @key = <%= name.underscore %>, key mail( :subject => "#{app_name} -- forgotten password", :to => <%= name.underscore %>.email_address ) end <% if invite_only? -%> def invite(<%= name.underscore %>, key) @<%= name.underscore %>, @key = <%= name.underscore %>, key mail( :subject => "Invitation to #{app_name}", :to => <%= name.underscore %>.email_address ) end <% elsif options[:activation_email] %> def activation(<%= name.underscore %>, key) @<%= name.underscore %>, @key = <%= name.underscore %>, key mail( :subject => "#{app_name} -- activate", :to => <%= name.underscore %>.email_address ) end <% end -%> end
Version data entries
48 entries across 48 versions & 1 rubygems