diff options
author | hellekin <hellekin@cepheide.org> | 2020-10-06 04:26:25 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-10-06 04:26:25 +0200 |
commit | 56a16be5fb51d8f6a8b04e9e7094aa7c57fb8547 (patch) | |
tree | 83280700beda03eaa0786cdd8c94c93a1533f18b /config/routes.rb | |
parent | 09ac92747bfbda80a54e44b22576d29d9dfc63c3 (diff) | |
download | incommon-map-56a16be5fb51d8f6a8b04e9e7094aa7c57fb8547.tar.gz |
First pass at something visible
This is a first version of the application, to go beyond simple authentication.
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' |