Skip to content

Instantly share code, notes, and snippets.

@mattetti
Created August 27, 2008 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattetti/7557 to your computer and use it in GitHub Desktop.
Save mattetti/7557 to your computer and use it in GitHub Desktop.
>> merb.show_routes
==== Named routes
Helper : delete_artist_photo
HTTP method: GET
Route : /artists/:artist_id/photos/:id/delete
Params : {:action=>"\"index\"", :artist_id=>"path1", :id=>"path2"}
Helper : delete_artist_category
HTTP method: GET
Route : /artists/:artist_id/categories/:id/delete
Params : {:action=>"\"index\"", :artist_id=>"path1", :id=>"path2"}
Helper : edit_artist
HTTP method: GET
Route : /artists/:id/edit
Params : {:action=>"\"index\"", :id=>"path1"}
Helper : edit_thumbnail
HTTP method: GET
Route : /thumbnails/:id/edit
Params : {:action=>"\"index\"", :id=>"path1"}
Helper : delete_artist_category_photo
HTTP method: GET
Route : /artists/:artist_id/categories/:category_id/photos/:id/delete
Params : {:category_id=>"path2", :action=>"\"index\"", :artist_id=>"path1", :id=>"path3"}
Helper : delete_artist_site
HTTP method: GET
Route : /artists/:artist_id/sites/:id/delete
Params : {:action=>"\"index\"", :artist_id=>"path1", :id=>"path2"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment