diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index ac3e3f3..d22ee2e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,7 +3,15 @@ Rails.application.routes.draw do root to: 'welcome#index' + # Resource routes + resources :resources + + # User routes + get '/my/account', to: 'users#show', as: 'account' + get '/my/current_agent', to: 'agent_switch#new', as: 'new_agent_switch' + put '/my/current_agent', to: 'agent_switch#update', as: 'update_agent_switch' get '/my/dashboard', to: 'welcome#dashboard' + get 'my/users', to: 'users#index', as: 'users' # Discourse SSO get 'authenticate(/:token)', to: 'welcome#authenticate' |