Sha256: 73eac7728586275cd4f952b6b062ed078c1063646383ff6af5b86e627a914afb

Contents?: true

Size: 429 Bytes

Versions: 1

Compression:

Stored size: 429 Bytes

Contents

class ActionDispatch::Routing::Mapper
  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 'login', to: 'shopapp_login#welcome', as: 'login_message'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shopapp-0.2.65 lib/shopapp/routes.rb