spec/internal/config/routes.rb in letter_opener_web-1.0.0 vs spec/internal/config/routes.rb in letter_opener_web-1.0.1

- old
+ new

@@ -1,5 +1,6 @@ Rails.application.routes.draw do - delete 'clear' => 'letter_opener_web/letters#clear' - get '/' => 'letter_opener_web/letters#index', as: :letters - get ':id(/:style)' => 'letter_opener_web/letters#show', as: :letter + delete 'clear' => 'letter_opener_web/letters#clear' + 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', format: false end