Skip to content

Commit

Permalink
remove constraints from /users/:id
Browse files Browse the repository at this point in the history
  • Loading branch information
matievisthekat committed Jul 17, 2022
1 parent d680850 commit 4b3b7d6
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 @@ -21,7 +21,7 @@
post '/register', to: 'users#register', on: :collection
delete '/logout', to: 'users#logout', on: :collection
put '/change_password', to: 'users#change_password', on: :collection
get '/:id', to: 'users#show', :constraints => { :id => /[0-z\.]+/ }, on: :collection
get '/:id', to: 'users#show', on: :collection

get '/me/hike_events', to: 'hike_events#current_user', on: :collection
get '/:id/hike_events', to: 'hike_events#show_for_user', on: :collection
Expand Down

0 comments on commit 4b3b7d6

Please sign in to comment.