Sha256: f96246de3d354ce0526993dc7e947b549a53d736ac1acd971bc9d2ba5931aa49

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

require 'token_endpoint'
Rails.application.routes.draw do |map|
  scope '/oauth2', :name_prefix => 'oauth2' do
    resources :authorizations, :controller => 'oauth2/authorizations', :only => :create
    resource :token, :controller => 'oauth2/tokens', :only => :create
    match 'authorize' => 'oauth2/authorizations#new'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise_oauth2_providable-0.3.4 config/routes.rb