Skip to content

Instantly share code, notes, and snippets.

@marcamillion
Created September 4, 2011 23:35
Show Gist options
  • Save marcamillion/1193719 to your computer and use it in GitHub Desktop.
Save marcamillion/1193719 to your computer and use it in GitHub Desktop.
Rake routes
feedbacks GET /:username/feedbacks(.:format) {:action=>"index", :controller=>"feedbacks"}
POST /:username/feedbacks(.:format) {:action=>"create", :controller=>"feedbacks"}
new_feedback GET /:username/feedbacks/new(.:format) {:action=>"new", :controller=>"feedbacks"}
edit_feedback GET /:username/feedbacks/:id/edit(.:format) {:action=>"edit", :controller=>"feedbacks"}
feedback GET /:username/feedbacks/:id(.:format) {:action=>"show", :controller=>"feedbacks"}
PUT /:username/feedbacks/:id(.:format) {:action=>"update", :controller=>"feedbacks"}
DELETE /:username/feedbacks/:id(.:format) {:action=>"destroy", :controller=>"feedbacks"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment