Sha256: b1f752591c835c670cdede20a079145cb31dfeec743f7c9a90ce36dc48ae8f83

Contents?: true

Size: 355 Bytes

Versions: 2

Compression:

Stored size: 355 Bytes

Contents

ApiUserAuth::Engine.routes.draw do
  resources :auth, only: :create do
    collection do
      post 'login', action: :login
      post 'provider', action: :provider
      patch 'forgot_password', action: :forgot_password
      patch 'password', action: :password
      post 'login', action: :login
      delete 'logout', action: :logout
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
api_user_auth-0.0.14 config/routes.rb
api_user_auth-0.0.12 config/routes.rb