Skip to content

Instantly share code, notes, and snippets.

@gumayunov
Created February 7, 2009 20:58
Show Gist options
  • Save gumayunov/60045 to your computer and use it in GitHub Desktop.
Save gumayunov/60045 to your computer and use it in GitHub Desktop.
23:36 gva@saturn:~/avatator>>rake routes | grep -v format
(in /home/gva/avatator)
avatars GET /avatars {:controller=>"avatars", :action=>"index"}
POST /avatars {:controller=>"avatars", :action=>"create"}
new_avatar GET /avatars/new {:controller=>"avatars", :action=>"new"}
edit_avatar GET /avatars/:id/edit {:controller=>"avatars", :action=>"edit"}
avatar GET /avatars/:id {:controller=>"avatars", :action=>"show"}
PUT /avatars/:id {:controller=>"avatars", :action=>"update"}
DELETE /avatars/:id {:controller=>"avatars", :action=>"destroy"}
causes GET /causes {:controller=>"causes", :action=>"index"}
cause GET /causes/:id {:controller=>"causes", :action=>"show"}
cause_avatars GET /causes/:cause_id/avatars {:controller=>"avatars", :action=>"index"}
cause_cliparts GET /causes/:cause_id/cliparts {:controller=>"cliparts", :action=>"index"}
cliparts GET /cliparts {:controller=>"cliparts", :action=>"index"}
clipart GET /cliparts/:id {:controller=>"cliparts", :action=>"show"}
clipart_fragments GET /cliparts/:clipart_id/fragments {:controller=>"fragments", :action=>"index"}
clipart_fragment GET /cliparts/:clipart_id/fragments/:id {:controller=>"fragments", :action=>"show"}
root / {:controller=>"avatars", :action=>"new"}
result /results/:avatar_id/:file {:controller=>"results", :action=>"show"}
/:controller/:action/:id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment