Sha256: 503133283aae841f01efa9de2e4a7cafd6a2766a7ac302b5a60e0ee86a3aea64
Contents?: true
Size: 1.38 KB
Versions: 2
Compression:
Stored size: 1.38 KB
Contents
Rails.application.routes.draw do scope "(:locale)", locale: /#{I18n.available_locales.join("|")}/ do resources :users do member do post :make_admin post :remove_admin end collection { post :detect_existence } end ##### ACCESS CONTROL # legacy routes. Pointing to new pathway. get 'signup', to: 'reception#email_input', as: 'signup' get 'login', to: 'reception#email_input', as: 'login' get 'logout', to: 'reception#disconnect', as: 'logout' # New access control pathway get '/reception', to: 'reception#email_input', as: 'email_input' post '/parse_email', to: 'reception#parse_email' get '/email_validation', to: 'reception#email_validation' get '/create_your_password', to: 'reception#create_your_password' post '/password_creation/:id', to: 'reception#password_creation', as: 'password_creation' get '/enter_your_password', to: 'reception#enter_your_password' post '/password_checking/:id', to: 'reception#password_checking', as: 'password_checking' get '/i_forgot_my_password', to: 'reception#i_forgot_my_password' post '/request_new_password', to: 'reception#request_new_password' get '/change_your_password', to: 'reception#change_your_password' post '/password_reset/:id', to: 'reception#password_reset', as: 'password_reset' get '/disconnect', to: 'reception#disconnect' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tkh_authentication-0.9.8 | config/routes.rb |
tkh_authentication-0.9.7 | config/routes.rb |