Skip to content

Instantly share code, notes, and snippets.

@dmclark
Created November 15, 2010 00:21
Show Gist options
  • Select an option

  • Save dmclark/676256 to your computer and use it in GitHub Desktop.

Select an option

Save dmclark/676256 to your computer and use it in GitHub Desktop.
route_index GET /route(.:format) {:action=>"index", :controller=>"route"}
route_index POST /route(.:format) {:action=>"create", :controller=>"route"}
new_route GET /route/new(.:format) {:action=>"new", :controller=>"route"}
edit_route GET /route/:id/edit(.:format) {:action=>"edit", :controller=>"route"}
route GET /route/:id(.:format) {:action=>"show", :controller=>"route"}
route PUT /route/:id(.:format) {:action=>"update", :controller=>"route"}
route DELETE /route/:id(.:format) {:action=>"destroy", :controller=>"route"}
neighborhoods GET /neighborhoods(.:format) {:action=>"index", :controller=>"neighborhoods"}
neighborhoods POST /neighborhoods(.:format) {:action=>"create", :controller=>"neighborhoods"}
new_neighborhood GET /neighborhoods/new(.:format) {:action=>"new", :controller=>"neighborhoods"}
edit_neighborhood GET /neighborhoods/:id/edit(.:format) {:action=>"edit", :controller=>"neighborhoods"}
neighborhood GET /neighborhoods/:id(.:format) {:action=>"show", :controller=>"neighborhoods"}
neighborhood PUT /neighborhoods/:id(.:format) {:action=>"update", :controller=>"neighborhoods"}
neighborhood DELETE /neighborhoods/:id(.:format) {:action=>"destroy", :controller=>"neighborhoods"}
neighborhood /neighborhood(/:neighborhood_name)(.:format) {:controller=>"neighborhood", :action=>"show"}
venues GET /venues(.:format) {:action=>"index", :controller=>"venues"}
venues POST /venues(.:format) {:action=>"create", :controller=>"venues"}
new_venue GET /venues/new(.:format) {:action=>"new", :controller=>"venues"}
edit_venue GET /venues/:id/edit(.:format) {:action=>"edit", :controller=>"venues"}
venue GET /venues/:id(.:format) {:action=>"show", :controller=>"venues"}
venue PUT /venues/:id(.:format) {:action=>"update", :controller=>"venues"}
venue DELETE /venues/:id(.:format) {:action=>"destroy", :controller=>"venues"}
about /about(.:format) {:controller=>"pages", :action=>"about"}
root /(.:format) {:controller=>"routes", :action=>"new"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment