Sha256: b63706aa92f75a9546cc7a68452d2f7849ee272534cc06e2ded16e785a7999ec

Contents?: true

Size: 365 Bytes

Versions: 2

Compression:

Stored size: 365 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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
doorkeeper-0.1.1 config/routes.rb
doorkeeper-0.1.0 config/routes.rb