Sha256: 3033c1a60ac40ef46be6b4d459a6622699cdb78b542e145ae9121fdfd9a2b0b7

Contents?: true

Size: 404 Bytes

Versions: 9

Compression:

Stored size: 404 Bytes

Contents

ApiUserAuth::Engine.routes.draw do
  resources :auth, only: :create do
    collection do
      post 'login', action: :login
      post 'provider', action: :provider
      post 'add_provider', action: :add_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

9 entries across 9 versions & 1 rubygems

Version Path
api_user_auth-0.1.9 config/routes.rb
api_user_auth-0.1.8 config/routes.rb
api_user_auth-0.1.7 config/routes.rb
api_user_auth-0.1.6 config/routes.rb
api_user_auth-0.1.5 config/routes.rb
api_user_auth-0.1.4 config/routes.rb
api_user_auth-0.1.2 config/routes.rb
api_user_auth-0.1.1 config/routes.rb
api_user_auth-0.1.0 config/routes.rb