Skip to content

Instantly share code, notes, and snippets.

@a-chernykh
Created November 9, 2010 21:04
Show Gist options
  • Save a-chernykh/669801 to your computer and use it in GitHub Desktop.
Save a-chernykh/669801 to your computer and use it in GitHub Desktop.
add_subscription_cart PUT /cart/add_subscription(.:format) {:controller=>"carts", :action=>"add_subscription"}
remove_subscription_cart PUT /cart/remove_subscription(.:format) {:controller=>"carts", :action=>"remove_subscription"}
leave_cart GET /cart/leave(.:format) {:controller=>"carts", :action=>"leave"}
cart POST /cart(.:format) {:controller=>"carts", :action=>"create"}
new_cart GET /cart/new(.:format) {:controller=>"carts", :action=>"new"}
edit_cart GET /cart/edit(.:format) {:controller=>"carts", :action=>"edit"}
cart GET /cart(.:format) {:controller=>"carts", :action=>"show"}
cart PUT /cart(.:format) {:controller=>"carts", :action=>"update"}
cart DELETE /cart(.:format) {:controller=>"carts", :action=>"destroy"}
order POST /order(.:format) {:controller=>"orders", :action=>"create"}
new_order GET /order/new(.:format) {:controller=>"orders", :action=>"new"}
edit_order GET /order/edit(.:format) {:controller=>"orders", :action=>"edit"}
order GET /order(.:format) {:controller=>"orders", :action=>"show"}
order PUT /order(.:format) {:controller=>"orders", :action=>"update"}
order DELETE /order(.:format) {:controller=>"orders", :action=>"destroy"}
checkout /checkout(.:format) {:controller=>"orders", :action=>"checkout"}
cart_items GET /cart_items(.:format) {:controller=>"cart_items", :action=>"index"}
cart_items POST /cart_items(.:format) {:controller=>"cart_items", :action=>"create"}
new_cart_item GET /cart_items/new(.:format) {:controller=>"cart_items", :action=>"new"}
edit_cart_item GET /cart_items/:id/edit(.:format) {:controller=>"cart_items", :action=>"edit"}
cart_item GET /cart_items/:id(.:format) {:controller=>"cart_items", :action=>"show"}
cart_item PUT /cart_items/:id(.:format) {:controller=>"cart_items", :action=>"update"}
cart_item DELETE /cart_items/:id(.:format) {:controller=>"cart_items", :action=>"destroy"}
user_stories GET /user_stories(.:format) {:controller=>"user_stories", :action=>"index"}
user_stories POST /user_stories(.:format) {:controller=>"user_stories", :action=>"create"}
new_user_story GET /user_stories/new(.:format) {:controller=>"user_stories", :action=>"new"}
edit_user_story GET /user_stories/:id/edit(.:format) {:controller=>"user_stories", :action=>"edit"}
user_story GET /user_stories/:id(.:format) {:controller=>"user_stories", :action=>"show"}
user_story PUT /user_stories/:id(.:format) {:controller=>"user_stories", :action=>"update"}
user_story DELETE /user_stories/:id(.:format) {:controller=>"user_stories", :action=>"destroy"}
signin GET /signin(.:format) {:controller=>"devise/sessions", :action=>"new"}
signup GET /signup(.:format) {:controller=>"custom_devise/registrations", :action=>"new"}
signout GET /signout(.:format) {:controller=>"devise/sessions", :action=>"destroy"}
users_check_username GET /users/check_username(.:format) {:controller=>"custom_devise/registrations", :action=>"check_username"}
new_user_session GET /users/sign_in(.:format) {:controller=>"custom_devise/sessions", :action=>"new"}
user_session POST /users/sign_in(.:format) {:controller=>"custom_devise/sessions", :action=>"create"}
destroy_user_session GET /users/sign_out(.:format) {:controller=>"custom_devise/sessions", :action=>"destroy"}
user_password POST /users/password(.:format) {:controller=>"devise/passwords", :action=>"create"}
new_user_password GET /users/password/new(.:format) {:controller=>"devise/passwords", :action=>"new"}
edit_user_password GET /users/password/edit(.:format) {:controller=>"devise/passwords", :action=>"edit"}
user_password PUT /users/password(.:format) {:controller=>"devise/passwords", :action=>"update"}
user_registration POST /users(.:format) {:controller=>"custom_devise/registrations", :action=>"create"}
new_user_registration GET /users/sign_up(.:format) {:controller=>"custom_devise/registrations", :action=>"new"}
edit_user_registration GET /users/edit(.:format) {:controller=>"custom_devise/registrations", :action=>"edit"}
user_registration PUT /users(.:format) {:controller=>"custom_devise/registrations", :action=>"update"}
user_registration DELETE /users(.:format) {:controller=>"custom_devise/registrations", :action=>"destroy"}
user_updates GET /users/:user_id/updates(.:format) {:controller=>"updates", :action=>"index"}
user_updates POST /users/:user_id/updates(.:format) {:controller=>"updates", :action=>"create"}
new_user_update GET /users/:user_id/updates/new(.:format) {:controller=>"updates", :action=>"new"}
edit_user_update GET /users/:user_id/updates/:id/edit(.:format) {:controller=>"updates", :action=>"edit"}
user_update GET /users/:user_id/updates/:id(.:format) {:controller=>"updates", :action=>"show"}
user_update PUT /users/:user_id/updates/:id(.:format) {:controller=>"updates", :action=>"update"}
user_update DELETE /users/:user_id/updates/:id(.:format) {:controller=>"updates", :action=>"destroy"}
following_user GET /users/:id/following(.:format) {:controller=>"users", :action=>"following"}
followers_user GET /users/:id/followers(.:format) {:controller=>"users", :action=>"followers"}
follow_user GET /users/:id/follow(.:format) {:controller=>"users", :action=>"follow"}
unfollow_user GET /users/:id/unfollow(.:format) {:controller=>"users", :action=>"unfollow"}
users GET /users(.:format) {:controller=>"users", :action=>"index"}
users POST /users(.:format) {:controller=>"users", :action=>"create"}
new_user GET /users/new(.:format) {:controller=>"users", :action=>"new"}
edit_user GET /users/:id/edit(.:format) {:controller=>"users", :action=>"edit"}
user GET /users/:id(.:format) {:controller=>"users", :action=>"show"}
user PUT /users/:id(.:format) {:controller=>"users", :action=>"update"}
user DELETE /users/:id(.:format) {:controller=>"users", :action=>"destroy"}
read_story /read/:story_id(.:format) {:controller=>"reader", :action=>"read"}
read_story_sample /read_sample/:story_id(.:format) {:controller=>"reader", :action=>"read_sample"}
payment_info POST /payment_info(.:format) {:controller=>"payment_infos", :action=>"create"}
new_payment_info GET /payment_info/new(.:format) {:controller=>"payment_infos", :action=>"new"}
edit_payment_info GET /payment_info/edit(.:format) {:controller=>"payment_infos", :action=>"edit"}
payment_info GET /payment_info(.:format) {:controller=>"payment_infos", :action=>"show"}
payment_info PUT /payment_info(.:format) {:controller=>"payment_infos", :action=>"update"}
payment_info DELETE /payment_info(.:format) {:controller=>"payment_infos", :action=>"destroy"}
toggle_updates_connections POST /connections/toggle_updates(.:format) {:controller=>"connections", :action=>"toggle_updates"}
connections POST /connections(.:format) {:controller=>"connections", :action=>"create"}
new_connections GET /connections/new(.:format) {:controller=>"connections", :action=>"new"}
edit_connections GET /connections/edit(.:format) {:controller=>"connections", :action=>"edit"}
connections GET /connections(.:format) {:controller=>"connections", :action=>"show"}
connections PUT /connections(.:format) {:controller=>"connections", :action=>"update"}
connections DELETE /connections(.:format) {:controller=>"connections", :action=>"destroy"}
notifications POST /notifications(.:format) {:controller=>"notifications", :action=>"create"}
new_notifications GET /notifications/new(.:format) {:controller=>"notifications", :action=>"new"}
edit_notifications GET /notifications/edit(.:format) {:controller=>"notifications", :action=>"edit"}
notifications GET /notifications(.:format) {:controller=>"notifications", :action=>"show"}
notifications PUT /notifications(.:format) {:controller=>"notifications", :action=>"update"}
notifications DELETE /notifications(.:format) {:controller=>"notifications", :action=>"destroy"}
upload_profile POST /profile/upload(.:format) {:controller=>"profile", :action=>"upload"}
update_password_profile PUT /profile/update_password(.:format) {:controller=>"profile", :action=>"update_password"}
profile POST /profile(.:format) {:controller=>"profile", :action=>"create"}
new_profile GET /profile/new(.:format) {:controller=>"profile", :action=>"new"}
edit_profile GET /profile/edit(.:format) {:controller=>"profile", :action=>"edit"}
profile GET /profile(.:format) {:controller=>"profile", :action=>"show"}
profile PUT /profile(.:format) {:controller=>"profile", :action=>"update"}
profile DELETE /profile(.:format) {:controller=>"profile", :action=>"destroy"}
story_story_preferences GET /stories/:story_id/story_preferences(.:format) {:controller=>"story_preferences", :action=>"index"}
story_story_preferences POST /stories/:story_id/story_preferences(.:format) {:controller=>"story_preferences", :action=>"create"}
new_story_story_preference GET /stories/:story_id/story_preferences/new(.:format) {:controller=>"story_preferences", :action=>"new"}
edit_story_story_preference GET /stories/:story_id/story_preferences/:id/edit(.:format) {:controller=>"story_preferences", :action=>"edit"}
story_story_preference GET /stories/:story_id/story_preferences/:id(.:format) {:controller=>"story_preferences", :action=>"show"}
story_story_preference PUT /stories/:story_id/story_preferences/:id(.:format) {:controller=>"story_preferences", :action=>"update"}
story_story_preference DELETE /stories/:story_id/story_preferences/:id(.:format) {:controller=>"story_preferences", :action=>"destroy"}
story_story_sellers GET /stories/:story_id/story_sellers(.:format) {:controller=>"story_sellers", :action=>"index"}
story_story_sellers POST /stories/:story_id/story_sellers(.:format) {:controller=>"story_sellers", :action=>"create"}
new_story_story_seller GET /stories/:story_id/story_sellers/new(.:format) {:controller=>"story_sellers", :action=>"new"}
edit_story_story_seller GET /stories/:story_id/story_sellers/:id/edit(.:format) {:controller=>"story_sellers", :action=>"edit"}
story_story_seller GET /stories/:story_id/story_sellers/:id(.:format) {:controller=>"story_sellers", :action=>"show"}
story_story_seller PUT /stories/:story_id/story_sellers/:id(.:format) {:controller=>"story_sellers", :action=>"update"}
story_story_seller DELETE /stories/:story_id/story_sellers/:id(.:format) {:controller=>"story_sellers", :action=>"destroy"}
story_related_products GET /stories/:story_id/related_products(.:format) {:controller=>"related_products", :action=>"index"}
story_related_products POST /stories/:story_id/related_products(.:format) {:controller=>"related_products", :action=>"create"}
new_story_related_product GET /stories/:story_id/related_products/new(.:format) {:controller=>"related_products", :action=>"new"}
edit_story_related_product GET /stories/:story_id/related_products/:id/edit(.:format) {:controller=>"related_products", :action=>"edit"}
story_related_product GET /stories/:story_id/related_products/:id(.:format) {:controller=>"related_products", :action=>"show"}
story_related_product PUT /stories/:story_id/related_products/:id(.:format) {:controller=>"related_products", :action=>"update"}
story_related_product DELETE /stories/:story_id/related_products/:id(.:format) {:controller=>"related_products", :action=>"destroy"}
new_or_edit_story_reviews GET /stories/:story_id/reviews/new_or_edit(.:format) {:controller=>"reviews", :action=>"new_or_edit"}
story_reviews GET /stories/:story_id/reviews(.:format) {:controller=>"reviews", :action=>"index"}
story_reviews POST /stories/:story_id/reviews(.:format) {:controller=>"reviews", :action=>"create"}
new_story_review GET /stories/:story_id/reviews/new(.:format) {:controller=>"reviews", :action=>"new"}
edit_story_review GET /stories/:story_id/reviews/:id/edit(.:format) {:controller=>"reviews", :action=>"edit"}
story_review GET /stories/:story_id/reviews/:id(.:format) {:controller=>"reviews", :action=>"show"}
story_review PUT /stories/:story_id/reviews/:id(.:format) {:controller=>"reviews", :action=>"update"}
story_review DELETE /stories/:story_id/reviews/:id(.:format) {:controller=>"reviews", :action=>"destroy"}
publish_story GET /stories/:id/publish(.:format) {:controller=>"stories", :action=>"publish"}
download_story GET /stories/:id/download(.:format) {:controller=>"stories", :action=>"download"}
followings_stories GET /stories/followings(.:format) {:controller=>"stories", :action=>"followings"}
interesting_stories GET /stories/interesting(.:format) {:controller=>"stories", :action=>"interesting"}
stories GET /stories(.:format) {:controller=>"stories", :action=>"index"}
stories POST /stories(.:format) {:controller=>"stories", :action=>"create"}
new_story GET /stories/new(.:format) {:controller=>"stories", :action=>"new"}
edit_story GET /stories/:id/edit(.:format) {:controller=>"stories", :action=>"edit"}
story GET /stories/:id(.:format) {:controller=>"stories", :action=>"show"}
story PUT /stories/:id(.:format) {:controller=>"stories", :action=>"update"}
story DELETE /stories/:id(.:format) {:controller=>"stories", :action=>"destroy"}
auth_facebook /auth/facebook(.:format) {:controller=>"auth", :action=>"facebook"}
auth_facebook_callback /auth/facebook/callback(.:format) {:controller=>"auth", :action=>"facebook_callback"}
auth_twitter /auth/twitter(.:format) {:controller=>"auth", :action=>"twitter"}
auth_twitter_callback /auth/twitter/callback(.:format) {:controller=>"auth", :action=>"twitter_callback"}
following_account GET /account/following(.:format) {:controller=>"accounts", :action=>"following"}
followers_account GET /account/followers(.:format) {:controller=>"accounts", :action=>"followers"}
feed_account GET /account/feed(.:format) {:controller=>"accounts", :action=>"feed"}
account POST /account(.:format) {:controller=>"accounts", :action=>"create"}
new_account GET /account/new(.:format) {:controller=>"accounts", :action=>"new"}
edit_account GET /account/edit(.:format) {:controller=>"accounts", :action=>"edit"}
account GET /account(.:format) {:controller=>"accounts", :action=>"show"}
account PUT /account(.:format) {:controller=>"accounts", :action=>"update"}
account DELETE /account(.:format) {:controller=>"accounts", :action=>"destroy"}
preview_avatar GET /avatar/preview(.:format) {:controller=>"avatars", :action=>"preview"}
crop_avatar POST /avatar/crop(.:format) {:controller=>"avatars", :action=>"crop"}
avatar POST /avatar(.:format) {:controller=>"avatars", :action=>"create"}
new_avatar GET /avatar/new(.:format) {:controller=>"avatars", :action=>"new"}
edit_avatar GET /avatar/edit(.:format) {:controller=>"avatars", :action=>"edit"}
avatar GET /avatar(.:format) {:controller=>"avatars", :action=>"show"}
avatar PUT /avatar(.:format) {:controller=>"avatars", :action=>"update"}
avatar DELETE /avatar(.:format) {:controller=>"avatars", :action=>"destroy"}
updates GET /updates(.:format) {:controller=>"updates", :action=>"index"}
updates POST /updates(.:format) {:controller=>"updates", :action=>"create"}
new_update GET /updates/new(.:format) {:controller=>"updates", :action=>"new"}
edit_update GET /updates/:id/edit(.:format) {:controller=>"updates", :action=>"edit"}
update GET /updates/:id(.:format) {:controller=>"updates", :action=>"show"}
update PUT /updates/:id(.:format) {:controller=>"updates", :action=>"update"}
update DELETE /updates/:id(.:format) {:controller=>"updates", :action=>"destroy"}
library_current /library/current(.:format) {:controller=>"user_stories", :action=>"current"}
library_previous /library/previous(.:format) {:controller=>"user_stories", :action=>"previous"}
library_to_read /library/to_read(.:format) {:controller=>"user_stories", :action=>"to_read"}
root_find /find(.:format) {:controller=>"finds", :action=>"index"}
by_genre_find /find/genre/:genre_id(.:format) {:controller=>"finds", :action=>"genre"}
by_author_find /find/author/:range(.:format) {:controller=>"finds", :action=>"author"}
by_tag_find /find/tag/:tag(.:format) {:controller=>"finds", :action=>"tag"}
similar_to_find /find/similar/:story_id(.:format) {:controller=>"finds", :action=>"similar"}
find POST /find(.:format) {:controller=>"finds", :action=>"create"}
new_find GET /find/new(.:format) {:controller=>"finds", :action=>"new"}
edit_find GET /find/edit(.:format) {:controller=>"finds", :action=>"edit"}
find GET /find(.:format) {:controller=>"finds", :action=>"show"}
find PUT /find(.:format) {:controller=>"finds", :action=>"update"}
find DELETE /find(.:format) {:controller=>"finds", :action=>"destroy"}
terms /terms(.:format) {:controller=>"main", :action=>"terms"}
privacy /privacy(.:format) {:controller=>"main", :action=>"privacy"}
root_profile /:username(.:format) {:controller=>"profiles", :action=>"show"}
view_story /s/:slug(.:format) {:controller=>"stories", :action=>"show"}
root /(.:format) {:controller=>"main", :action=>"index"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment