Skip to content

Instantly share code, notes, and snippets.

@csaunders
Last active December 27, 2015 17:19
Show Gist options
  • Save csaunders/7361383 to your computer and use it in GitHub Desktop.
Save csaunders/7361383 to your computer and use it in GitHub Desktop.
shops GET /shops(.:format) shops#index => shops_path
POST /shops(.:format) shops#create => shops_path
new_shop GET /shops/new(.:format) shops#new => new_shop_path
edit_shop GET /shops/:id/edit(.:format) shops#edit => edit_shop_path
shop GET /shops/:id(.:format) shops#show => shop_path(shop)
PUT /shops/:id(.:format) shops#update => shop_path(shop)
DELETE /shops/:id(.:format) shops#destroy => shop_path(shop)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment