Skip to content

Commit

Permalink
refactored routes
Browse files Browse the repository at this point in the history
  • Loading branch information
nov committed Mar 12, 2009
1 parent 242e81a commit 2499d63
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions oauth_consumer/config/routes.rb
Expand Up @@ -8,10 +8,8 @@
# Sample of named route:
# map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase'
# This route can be invoked with purchase_url(:id => product.id)

map.with_options(:controller => 'dashboard') do |m|
m.dashboard 'dashboard', :action => 'index'
end

map.dashboard 'dashboard', :controller => 'dashboard'

map.with_options(:controller => 'oauth_access_tokens') do |m|
m.oauth_start 'oauth/:service_provider', :action => 'new'
Expand Down

0 comments on commit 2499d63

Please sign in to comment.