We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d680850 commit 4b3b7d6Copy full SHA for 4b3b7d6
config/routes.rb
@@ -21,7 +21,7 @@
21
post '/register', to: 'users#register', on: :collection
22
delete '/logout', to: 'users#logout', on: :collection
23
put '/change_password', to: 'users#change_password', on: :collection
24
- get '/:id', to: 'users#show', :constraints => { :id => /[0-z\.]+/ }, on: :collection
+ get '/:id', to: 'users#show', on: :collection
25
26
get '/me/hike_events', to: 'hike_events#current_user', on: :collection
27
get '/:id/hike_events', to: 'hike_events#show_for_user', on: :collection
0 commit comments