Sha256: f3c2910f2d0d7976f22246737ac099593980106ca8c7b5685b147445c0b91bb4
Contents?: true
Size: 453 Bytes
Versions: 157
Compression:
Stored size: 453 Bytes
Contents
<% module_namespacing do -%> class <%= class_name %> < ActionMailer::Base default <%= key_value :from, '"from@example.com"' %> <% actions.each do |action| -%> # Subject can be set in your I18n file at config/locales/en.yml # with the following lookup: # # en.<%= file_path.gsub("/",".") %>.<%= action %>.subject # def <%= action %> @greeting = "Hi" mail <%= key_value :to, '"to@example.org"' %> end <% end -%> end <% end -%>
Version data entries
157 entries across 131 versions & 11 rubygems