Sha256: 8ec0cc018212216fea89ca9baf3a623f22ed2035a315c20aa117d56a8d61b005

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise_oauth2_providable-0.3.8 config/routes.rb