sso_login_box_for_tku/config/routes.rb

7 lines
250 B
Ruby
Raw Normal View History

2020-04-12 04:26:24 +00:00
Rails.application.routes.draw do
locales = Site.first.in_use_locales rescue I18n.available_locales
scope "(:locale)", locale: Regexp.new(locales.join("|")) do
get 'sso/tku_redirect', to: 'sso_login_box#tku_login', as: 'sso_login'
end
end