Sha256: 336151ca56c09c7dd0945049299abf1e2eb9883dbdf64fc7e097134504d88992
Contents?: true
Size: 424 Bytes
Versions: 15
Compression:
Stored size: 424 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 %><%= Rails.version.to_f >= 5.0 ? "Mailer" : "" %>.<%= action %> end <% end -%> end <% end -%>
Version data entries
15 entries across 15 versions & 2 rubygems