Sha256: 796f7dfbc165a049ad268829bcb654ceae45722a5f543a4f479cc9663e243ddf
Contents?: true
Size: 411 Bytes
Versions: 77
Compression:
Stored size: 411 Bytes
Contents
<% module_namespacing do -%> class <%= class_name %> < ActionMailer::Base default 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.tr("/",".") %>.<%= action %>.subject # def <%= action %> @greeting = "Hi" mail to: "to@example.org" end <% end -%> end <% end -%>
Version data entries
77 entries across 77 versions & 3 rubygems