Sha256: 23d8a08753addd46748047007c60523e2da0477ad5ea8a9c14a614ab580fefef

Contents?: true

Size: 430 Bytes

Versions: 12

Compression:

Stored size: 430 Bytes

Contents

RailsEmailPreview::Engine.routes.draw do
  get '/' => 'emails#index', as: :rep_emails

  get 'raw/:mail_class/:mail_action' => 'emails#show_raw', as: :rep_raw_email
  get ':mail_class/:mail_action' => 'emails#show', as: :rep_email
  post 'test_deliver/:mail_class/:mail_action' => 'emails#test_deliver', as: :rep_test_deliver

  # define alias for the root url as part of stable api
  get '/' => 'emails#index', as: :rep_root
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rails_email_preview-0.2.14 config/routes.rb
rails_email_preview-0.2.13 config/routes.rb
rails_email_preview-0.2.12 config/routes.rb
rails_email_preview-0.2.11 config/routes.rb
rails_email_preview-0.2.10 config/routes.rb
rails_email_preview-0.2.9 config/routes.rb
rails_email_preview-0.2.8 config/routes.rb
rails_email_preview-0.2.7 config/routes.rb
rails_email_preview-0.2.6 config/routes.rb
rails_email_preview-0.2.5 config/routes.rb
rails_email_preview-0.2.4 config/routes.rb
rails_email_preview-0.2.3 config/routes.rb