Skip to content

Instantly share code, notes, and snippets.

@workmad3
Forked from anonymous/routes
Created January 16, 2010 18:40
Show Gist options
  • Save workmad3/278947 to your computer and use it in GitHub Desktop.
Save workmad3/278947 to your computer and use it in GitHub Desktop.
ActionController::Routing::Routes.draw do |map|
# twitter app stuff
map.connect '/accounts/callback', :controller => 'accounts', :action => 'callback'
map.resources :accounts, :collection => { :callback => :get}, :members => {:do_update => :post}
map.resources :feeds
map.resources :feed_entries
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment