aboutsummaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2021-03-22 15:37:40 +0100
committerhellekin <hellekin@cepheide.org>2021-03-22 15:37:40 +0100
commitcd49369079dfd5fc7c2530a9d601422dab26718b (patch)
treed418d041e9c0eb307ca6f25fa2c7b138a8c5147c /config/routes.rb
parent8c015485ad2ea61d128a38e7439d8b0574adc169 (diff)
parent15096ed20f918d585f7b49610f89deefda0a20b3 (diff)
downloadincommon-map-cd49369079dfd5fc7c2530a9d601422dab26718b.tar.gz
Merge branch 'uuid-resolver' into main
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 9be4a4e..54f383e 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -28,7 +28,10 @@ Rails.application.routes.draw do
get '/my/account', to: 'users#show', as: 'account'
patch '/my/current_agent', to: 'my/agent#switch', as: 'agent_switch'
get '/my/dashboard', to: 'welcome#dashboard'
- get 'my/peers', to: 'users#index', as: 'users'
+ get '/my/peers', to: 'users#index', as: 'users'
+
+ # UUID Resolver
+ get '/by-uuid/:uuid', to: 'uuid_resolver#new', as: 'uuid_resolver'
# Discourse SSO
get 'authenticate(/:token)', to: 'welcome#authenticate'