Sha256: 2a4fe6df24ddf87f7524d5567c8ddc6ae0c7a6aa286417450dd09f9f4cc802b2
Contents?: true
Size: 485 Bytes
Versions: 1
Compression:
Stored size: 485 Bytes
Contents
RailsEmailPreview::Engine.routes.draw do get '/' => 'emails#index', as: :rep_emails get 'raw/:preview_id' => 'emails#show_body', as: :rep_raw_email get 'raw/:preview_id/:filename' => 'emails#show_attachment', as: :rep_raw_email_attachment get ':preview_id' => 'emails#show', as: :rep_email post 'test_deliver/:preview_id' => '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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_email_preview-0.2.21 | config/routes.rb |