Sha256: aed1880bcd93333e682524daedd5c1422b48fc6f74d408dc7020415827101336

Contents?: true

Size: 448 Bytes

Versions: 4

Compression:

Stored size: 448 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

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