Sha256: 72167384beb1d820495193651188c04813066993fa72b4940fafb04e82f9d3eb
Contents?: true
Size: 1.42 KB
Versions: 11
Compression:
Stored size: 1.42 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. Keep them. They are semantically sound. 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
11 entries across 11 versions & 1 rubygems