Skip to content

Commit

Permalink
routes: add illuminating comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ndushay committed Dec 3, 2019
1 parent 16b626c commit 8420fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
resources :objects, only: %i[show] do
member do
get 'checksum'
get 'file', format: false
get 'file', format: false # no need to add extension to url
end
collection do
match 'checksums', via: %i[get post]
Expand Down

0 comments on commit 8420fb1

Please sign in to comment.