Sha256: ca3d7f75526e0b0d673b1d89a00c691946634cb13f5fbf0fbd0373577d3f5c78
Contents?: true
Size: 404 Bytes
Versions: 22
Compression:
Stored size: 404 Bytes
Contents
<% module_namespacing do -%> # Preview all emails at http://localhost:3000/rails/mailers/<%= file_path %> class <%= class_name %>Preview < ActionMailer::Preview <% actions.each do |action| -%> # Preview this email at http://localhost:3000/rails/mailers/<%= file_path %>/<%= action %> def <%= action %> <%= class_name.sub(/(Mailer)?$/, 'Mailer') %>.<%= action %> end <% end -%> end <% end -%>
Version data entries
22 entries across 20 versions & 4 rubygems