aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index a2260d6..ac3e3f3 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,6 +1,11 @@
Rails.application.routes.draw do
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
+ root to: 'welcome#index'
+
+ get '/my/dashboard', to: 'welcome#dashboard'
+
# Discourse SSO
- get 'my/account/:token', to: 'authentication#login'
+ get 'authenticate(/:token)', to: 'welcome#authenticate'
+ get 'logout', to: 'welcome#logout'
end