Sha256: 9f3c2f1c59e4fdafb0def242c2d3903ec678b49051ec1da8be05d9bb546c1183

Contents?: true

Size: 466 Bytes

Versions: 3

Compression:

Stored size: 466 Bytes

Contents

h1 Application emails
ul.list-unstyled
  - @preview_class_names.each do |m|
    li.col-lg-6.col-sm-6
      h2= m.underscore.sub(/(_mailer)?_preview$/, '').humanize
      ul.list-group
        - m.constantize.instance_methods(false).map(&:to_s).each do |method|
          li.list-group-item
            a href=rails_email_preview.rep_email_url(mail_class: m.to_s.underscore, mail_action: method.to_s, email_locale: @email_locale)
              = method.to_s.humanize

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_email_preview-0.2.2 app/views/rails_email_preview/emails/index.html.slim
rails_email_preview-0.2.1 app/views/rails_email_preview/emails/index.html.slim
rails_email_preview-0.2.0 app/views/rails_email_preview/emails/index.html.slim