Class: ActionDispatch::Routing::Mapper

Inherits:
Object
  • Object
show all
Defined in:
lib/shopapp/routes.rb

Instance Method Summary collapse

Instance Method Details

#shoplift_single_sign_onObject



2
3
4
5
6
7
8
9
10
# File 'lib/shopapp/routes.rb', line 2

def shoplift_single_sign_on
  get 'auth', to: 'auth#auth'
  post 'auth/change_company/:new_company_code', to: 'auth#change_company', as: 'change_company'
  post 'auth/change_language/:new_language_code', to: 'auth#change_language', as: 'change_language'
  delete 'auth', to: 'auth#destroy', as: 'logout'
  get 'change_password', to: 'auth#change_password', as: 'change_password'

  get 'login', to: 'shopapp_login#welcome', as: 'login_message'
end