Sha256: a9e9e804a1e33a6808388bd9b02882251eb876fe2ac49383d705245191a63aa8

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
    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.7 config/routes.rb