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
# 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'
  delete 'auth', to: 'auth#destroy', as: 'logout'
end