Skip to content

Commit 4b3b7d6

Browse files
remove constraints from /users/:id
1 parent d680850 commit 4b3b7d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/routes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
post '/register', to: 'users#register', on: :collection
2222
delete '/logout', to: 'users#logout', on: :collection
2323
put '/change_password', to: 'users#change_password', on: :collection
24-
get '/:id', to: 'users#show', :constraints => { :id => /[0-z\.]+/ }, on: :collection
24+
get '/:id', to: 'users#show', on: :collection
2525

2626
get '/me/hike_events', to: 'hike_events#current_user', on: :collection
2727
get '/:id/hike_events', to: 'hike_events#show_for_user', on: :collection

0 commit comments

Comments
 (0)