Sha256: 60b35994e9b2dd190f9fadb1c34a867d25ea70233b6adbb58c740cc1959a9dcd
Contents?: true
Size: 1.12 KB
Versions: 1
Compression:
Stored size: 1.12 KB
Contents
Rails.application.routes.draw do use_doorkeeper scope 'space' do use_doorkeeper do controllers :authorizations => 'custom_authorizations', :tokens => 'custom_authorizations', :applications => 'custom_authorizations', :token_info => 'custom_authorizations' as :authorizations => 'custom_auth', :tokens => 'custom_token', :token_info => 'custom_token_info' end end scope 'outer_space' do use_doorkeeper do controllers :authorizations => 'custom_authorizations', :tokens => 'custom_authorizations', :token_info => 'custom_authorizations' as :authorizations => 'custom_auth', :tokens => 'custom_token', :token_info => 'custom_token_info' skip_controllers :tokens, :applications, :token_info end end get 'metal.json' => 'metal#index' get '/callback', :to => "home#callback" get '/sign_in', :to => "home#sign_in" resources :semi_protected_resources resources :full_protected_resources root :to => "home#index" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
couchkeeper-0.6.7 | spec/dummy/config/routes.rb |