Class: ActionDispatch::Routing::Mapper

Inherits:
Object
  • Object
show all
Defined in:
lib/oauned/rails/routing.rb

Instance Method Summary collapse

Instance Method Details

#oauned_routingObject



4
5
6
7
8
# File 'lib/oauned/rails/routing.rb', line 4

def oauned_routing
  get '/' => 'oauned/oauth#index', :as => 'oauth'
  post '/' => 'oauned/oauth#authorize'
  post '/token' => 'oauned/oauth#token'
end