Sha256: 4d19459927ada0025133a2c47938cc1148ee2c4ef346ab5c034c872607874e7e

Contents?: true

Size: 560 Bytes

Versions: 1

Compression:

Stored size: 560 Bytes

Contents

Maily::Engine.routes.draw do
  get  ':mailer/:method'            => 'emails#show',       as: :maily_email
  get  ':mailer/:method/raw'        => 'emails#raw',        as: :raw_maily_email
  get  ':mailer/:method/edit'       => 'emails#edit',       as: :edit_maily_email
  put  ':mailer/:method'            => 'emails#update',     as: :update_maily_email
  post ':mailer/:method/deliver'    => 'emails#deliver',    as: :deliver_maily_email
  get  ':mailer/:method/attachment' => 'emails#attachment', as: :attachment_maily_email

  root :to => 'emails#index'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
maily-0.1.0 config/routes.rb