Skip to content

Commit

Permalink
Fix login routing issue from /users/:id addition
Browse files Browse the repository at this point in the history
  • Loading branch information
Undo1 committed Dec 28, 2017
1 parent 11d701c commit 6c7ddd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Expand Up @@ -32,7 +32,7 @@

get 'denied', to: 'users#missing_privileges', as: :missing_privileges

get ':id', to: 'users#show', as: :user
get ':id', to: 'users#show', as: :user, constraints: { id: /[[:digit]]/ }
post ':id/update_ids', to: 'users#refresh_ids', as: :update_user_chat_ids
post ':id/reset_pass', to: 'users#send_password_reset', as: :send_password_reset
post ':id/update_mod_sites', to: 'users#update_mod_sites', as: :update_mod_sites
Expand Down

0 comments on commit 6c7ddd2

Please sign in to comment.