Sha256: 3756e1efaea1ad080fcc8c465626df4475a7d7c71e2014f09cfb45138ad2a131

Contents?: true

Size: 312 Bytes

Versions: 7

Compression:

Stored size: 312 Bytes

Contents

LetterOpenerWeb::Engine.routes.draw do
  delete 'clear'                 => 'letters#clear', :as => :clear_letters
  get    '/'                     => 'letters#index', :as => :letters
  get    ':id(/:style)'          => 'letters#show',  :as => :letter
  get    ':id/attachments/:file' => 'letters#attachment'
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
letter_opener_web-1.1.3 config/routes.rb
letter_opener_web-1.1.2 config/routes.rb
letter_opener_web-1.1.1 config/routes.rb
letter_opener_web-1.1.0 config/routes.rb
letter_opener_web-1.0.3 config/routes.rb
letter_opener_web-1.0.2 config/routes.rb
letter_opener_web-1.0.1 config/routes.rb