Class: ActionDispatch::Routing::Mapper
- Inherits:
-
Object
- Object
- ActionDispatch::Routing::Mapper
- Defined in:
- lib/oauned/rails/routing.rb
Instance Method Summary collapse
Instance Method Details
#oauned_routing ⇒ Object
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 |