aboutsummaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2020-10-05 14:39:03 +0200
committerhellekin <hellekin@cepheide.org>2020-10-05 14:39:03 +0200
commit1d53b3c26f4167be4e19e508c96a617d79c67363 (patch)
treea8eacd792ef620e013ca46dec3d890286b944f68 /config/routes.rb
parent270620682c1a3c006af4f9d15f9be58537d4d9ee (diff)
downloadincommon-map-1d53b3c26f4167be4e19e508c96a617d79c67363.tar.gz
Add Discourse SSO code
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index c06383a..a2260d6 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,3 +1,6 @@
Rails.application.routes.draw do
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
+
+ # Discourse SSO
+ get 'my/account/:token', to: 'authentication#login'
end