Merge pull request #4761 from joebuhlig/fix-tl3-requirements-route

FIX: Add route for user TL3 requirements page
This commit is contained in:
Neil Lalonde 2017-03-16 12:13:08 -04:00 committed by GitHub
commit fb96cf3aae
1 changed files with 1 additions and 0 deletions

View File

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