FIX: regression in badge grant admin page

This commit is contained in:
Sam
2016-03-29 07:58:45 +11:00
parent e364eb2aad
commit c650c2a16f
2 changed files with 2 additions and 1 deletions

View File

@ -111,6 +111,7 @@ Discourse::Application.routes.draw do
end
get "users/:id.json" => 'users#show', defaults: {format: 'json'}
get 'users/:id/:username' => 'users#show'
get 'users/:id/:username/badges' => 'users#show'
post "users/sync_sso" => "users#sync_sso", constraints: AdminConstraint.new