Sha256: ce7d8cc81dec3b245f090c88ab3e3fa9656aeecaf52713aafbcade8388fb4e89

Contents?: true

Size: 263 Bytes

Versions: 4

Compression:

Stored size: 263 Bytes

Contents

Oa2c::Engine.routes.draw do
  post 'authorizations/create' => 'authorizations#create', :as => 'authorizations'
  match 'authorize', to: 'authorizations#new'
  match 'token', to: proc {|env| Oa2c::AuthorizationsController.new.send(:token_endpoint).call(env) }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
oa2c-0.1.2 config/routes.rb
oa2c-0.1.1 config/routes.rb
oa2c-0.1.0 config/routes.rb
oa2c-0.0.2 config/routes.rb