Sha256: d13bcf0409a75edb8aaa4e3a5fd7ce175b3650e6a676fcc9dd1cd7ea14652229

Contents?: true

Size: 431 Bytes

Versions: 9

Compression:

Stored size: 431 Bytes

Contents

Doorkeeper::Engine.routes.draw do
  get    'authorize', :to => "authorizations#new",     :as => :authorization
  post   'authorize', :to => "authorizations#create",  :as => :authorization
  delete 'authorize', :to => "authorizations#destroy", :as => :authorization
  post   'token',     :to => "tokens#create",          :as => :token

  resources :applications
  resources :authorized_applications, :only => [:index, :destroy]
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
doorkeeper-0.4.2 config/routes.rb
doorkeeper-0.4.1 config/routes.rb
doorkeeper-0.4.0 config/routes.rb
doorkeeper-0.3.4 config/routes.rb
doorkeeper-0.3.3 config/routes.rb
doorkeeper-0.3.2 config/routes.rb
doorkeeper-0.3.1 config/routes.rb
doorkeeper-0.3.0 config/routes.rb
doorkeeper-0.2.0 config/routes.rb