diff options
author | hellekin <hellekin@cepheide.org> | 2020-10-09 12:48:13 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-10-09 12:50:16 +0200 |
commit | 383a840c50ca8f6df19677e93357e9dc6c0e043c (patch) | |
tree | 3597f5ee2a92b551a01ac207f440ae85bcb3d9c6 /config | |
parent | dd9e0691acae3eb63bdfbc8665eb3f8ce516536d (diff) | |
download | incommon-map-383a840c50ca8f6df19677e93357e9dc6c0e043c.tar.gz |
Enable switching Agent
Switching current Agent can help with roles and resource access.
Go to your dashboard by clicking the avatar.
Select agent and hit "Select"
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index fdecb3d..0de14b5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -19,8 +19,7 @@ Rails.application.routes.draw do # 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' + patch '/my/current_agent', to: 'my/agent#switch', as: 'agent_switch' get '/my/dashboard', to: 'welcome#dashboard' get 'my/users', to: 'users#index', as: 'users' |