Skip to content

Instantly share code, notes, and snippets.

@gumayunov
Created February 7, 2009 21:15
Show Gist options
  • Save gumayunov/60050 to your computer and use it in GitHub Desktop.
Save gumayunov/60050 to your computer and use it in GitHub Desktop.
(in /home/gva/bookfeed)
users GET /users {:controller=>"users", :action=>"index"}
POST /users {:controller=>"users", :action=>"create"}
new_user GET /users/new {:controller=>"users", :action=>"new"}
edit_user GET /users/:id/edit {:controller=>"users", :action=>"edit"}
user GET /users/:id {:controller=>"users", :action=>"show"}
PUT /users/:id {:controller=>"users", :action=>"update"}
DELETE /users/:id {:controller=>"users", :action=>"destroy"}
user_reviews GET /users/:user_id/reviews {:controller=>"reviews", :action=>"index"}
user_events GET /users/:user_id/events {:controller=>"reviews", :action=>"index"}
user_follows GET /users/:user_id/follows {:controller=>"follows", :action=>"index"}
POST /users/:user_id/follows {:controller=>"follows", :action=>"create"}
user_follow DELETE /users/:user_id/follows/:id {:controller=>"follows", :action=>"destroy"}
user_followers GET /users/:user_id/followers {:controller=>"followers", :action=>"index"}
user_covers GET /users/:user_id/covers {:controller=>"covers", :action=>"index"}
user_wishlist GET /users/:user_id/wishlist {:controller=>"wishlists", :action=>"show"}
edit_user_badge GET /users/:user_id/badge/edit {:controller=>"badges", :action=>"edit"}
user_badge GET /users/:user_id/badge {:controller=>"badges", :action=>"show"}
PUT /users/:user_id/badge {:controller=>"badges", :action=>"update"}
reviews GET /reviews {:controller=>"reviews", :action=>"index"}
POST /reviews {:controller=>"reviews", :action=>"create"}
new_review GET /reviews/new {:controller=>"reviews", :action=>"new"}
edit_review GET /reviews/:id/edit {:controller=>"reviews", :action=>"edit"}
review GET /reviews/:id {:controller=>"reviews", :action=>"show"}
PUT /reviews/:id {:controller=>"reviews", :action=>"update"}
DELETE /reviews/:id {:controller=>"reviews", :action=>"destroy"}
review_comments POST /reviews/:review_id/comments {:controller=>"comments", :action=>"create"}
review_comment DELETE /reviews/:review_id/comments/:id {:controller=>"comments", :action=>"destroy"}
comments POST /comments {:controller=>"comments", :action=>"create"}
comment DELETE /comments/:id {:controller=>"comments", :action=>"destroy"}
events GET /events {:controller=>"reviews", :action=>"index"}
covers GET /covers {:controller=>"covers", :action=>"index"}
cover GET /covers/:id {:controller=>"covers", :action=>"show"}
books GET /books {:controller=>"books", :action=>"index"}
book GET /books/:id {:controller=>"books", :action=>"show"}
session POST /session {:controller=>"user_sessions", :action=>"create"}
new_session GET /session/new {:controller=>"user_sessions", :action=>"new"}
edit_session GET /session/edit {:controller=>"user_sessions", :action=>"edit"}
GET /session {:controller=>"user_sessions", :action=>"show"}
PUT /session {:controller=>"user_sessions", :action=>"update"}
DELETE /session {:controller=>"user_sessions", :action=>"destroy"}
password_resets POST /password_resets {:controller=>"password_resets", :action=>"create"}
new_password_reset GET /password_resets/new {:controller=>"password_resets", :action=>"new"}
password_reset PUT /password_resets/:id {:controller=>"password_resets", :action=>"update"}
account POST /account {:controller=>"users", :action=>"create"}
new_account GET /account/new {:controller=>"users", :action=>"new"}
edit_account GET /account/edit {:controller=>"users", :action=>"edit"}
GET /account {:controller=>"users", :action=>"show"}
PUT /account {:controller=>"users", :action=>"update"}
DELETE /account {:controller=>"users", :action=>"destroy"}
account_reviews GET /account/reviews {:controller=>"reviews", :action=>"index"}
account_events GET /account/events {:controller=>"reviews", :action=>"index"}
admin_dashboard GET /admin/dashboard {:controller=>"admin/dashboards", :action=>"show"}
admin_users GET /admin/users {:controller=>"admin/users", :action=>"index"}
POST /admin/users {:controller=>"admin/users", :action=>"create"}
new_admin_user GET /admin/users/new {:controller=>"admin/users", :action=>"new"}
edit_admin_user GET /admin/users/:id/edit {:controller=>"admin/users", :action=>"edit"}
admin_user GET /admin/users/:id {:controller=>"admin/users", :action=>"show"}
PUT /admin/users/:id {:controller=>"admin/users", :action=>"update"}
DELETE /admin/users/:id {:controller=>"admin/users", :action=>"destroy"}
admin_reviews GET /admin/reviews {:controller=>"admin/reviews", :action=>"index"}
POST /admin/reviews {:controller=>"admin/reviews", :action=>"create"}
new_admin_review GET /admin/reviews/new {:controller=>"admin/reviews", :action=>"new"}
edit_admin_review GET /admin/reviews/:id/edit {:controller=>"admin/reviews", :action=>"edit"}
admin_review GET /admin/reviews/:id {:controller=>"admin/reviews", :action=>"show"}
PUT /admin/reviews/:id {:controller=>"admin/reviews", :action=>"update"}
DELETE /admin/reviews/:id {:controller=>"admin/reviews", :action=>"destroy"}
admin_books GET /admin/books {:controller=>"admin/books", :action=>"index"}
POST /admin/books {:controller=>"admin/books", :action=>"create"}
new_admin_book GET /admin/books/new {:controller=>"admin/books", :action=>"new"}
edit_admin_book GET /admin/books/:id/edit {:controller=>"admin/books", :action=>"edit"}
admin_book GET /admin/books/:id {:controller=>"admin/books", :action=>"show"}
PUT /admin/books/:id {:controller=>"admin/books", :action=>"update"}
DELETE /admin/books/:id {:controller=>"admin/books", :action=>"destroy"}
admin_searches GET /admin/searches {:controller=>"admin/searches", :action=>"index"}
POST /admin/searches {:controller=>"admin/searches", :action=>"create"}
new_admin_search GET /admin/searches/new {:controller=>"admin/searches", :action=>"new"}
edit_admin_search GET /admin/searches/:id/edit {:controller=>"admin/searches", :action=>"edit"}
admin_search GET /admin/searches/:id {:controller=>"admin/searches", :action=>"show"}
PUT /admin/searches/:id {:controller=>"admin/searches", :action=>"update"}
DELETE /admin/searches/:id {:controller=>"admin/searches", :action=>"destroy"}
admin_basket GET /admin/basket {:controller=>"admin/baskets", :action=>"show"}
DELETE /admin/basket {:controller=>"admin/baskets", :action=>"destroy"}
admin_basket_entries POST /admin/basket/entries {:controller=>"admin/basket_entries", :action=>"create"}
admin_basket_entry DELETE /admin/basket/entries/:id {:controller=>"admin/basket_entries", :action=>"destroy"}
admin_home /admin {:controller=>"admin/dashboard", :action=>"show"}
home / {:controller=>"reviews", :action=>"index"}
root / {:controller=>"reviews", :action=>"index"}
/:controller/:action/:id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment