Skip to content

Instantly share code, notes, and snippets.

@nicholassmith
Created August 15, 2013 10:52
Show Gist options
  • Save nicholassmith/6239971 to your computer and use it in GitHub Desktop.
Save nicholassmith/6239971 to your computer and use it in GitHub Desktop.
routes
store_images GET /stores/:store_id/images(.:format) images#index
POST /stores/:store_id/images(.:format) images#create
new_store_image GET /stores/:store_id/images/new(.:format) images#new
edit_store_image GET /stores/:store_id/images/:id/edit(.:format) images#edit
store_image GET /stores/:store_id/images/:id(.:format) images#show
PUT /stores/:store_id/images/:id(.:format) images#update
DELETE /stores/:store_id/images/:id(.:format) images#destroy
stores GET /stores(.:format) stores#index
POST /stores(.:format) stores#create
new_store GET /stores/new(.:format) stores#new
edit_store GET /stores/:id/edit(.:format) stores#edit
store GET /stores/:id(.:format) stores#show
PUT /stores/:id(.:format)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment