Sha256: f689be2547a6332a992b0712015ae192d1e37f1a334f96928fb6743f28284ef6

Contents?: true

Size: 447 Bytes

Versions: 8

Compression:

Stored size: 447 Bytes

Contents

Devise::Oauth::Engine.routes.draw do
  resource :authorization, path: :authorize, only: [:create, :show, :destroy], defaults: {format: :html}
  resource :access_token,  path: :token,     only: [:create, :destroy], defaults: {format: :json}

  resources :clients do
    put :block,   on: :member
    put :unblock, on: :member
  end

  resources :access, only: [:index, :show] do
    put :block,   on: :member
    put :unblock, on: :member
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
devise_oauth-3.0.3 config/routes.rb
devise_oauth-3.0.2 config/routes.rb
devise_oauth-3.0.1 config/routes.rb
devise_oauth-3.0.0 config/routes.rb
devise_oauth-2.0.3 config/routes.rb
devise_oauth-2.0.2 config/routes.rb
devise_oauth-2.0.1 config/routes.rb
devise_oauth-2.0.0 config/routes.rb