Sha256: b86707c97ccc8b38787e0beb5ed33aeb0f15e226192797003d0bbbc76754063a

Contents?: true

Size: 399 Bytes

Versions: 4

Compression:

Stored size: 399 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
letter_opener_web-1.2.3 config/routes.rb
letter_opener_web-1.2.2 config/routes.rb
letter_opener_web-1.2.1 config/routes.rb
letter_opener_web-1.2.0 config/routes.rb