code formatting

master
Matt Huntington 9 years ago
parent c1a11558fe
commit 849d6d680e

@ -245,14 +245,14 @@ There are seven routes which control basic HTTP operations for data:
https://gist.github.com/alexpchin/09939db6f81d654af06b https://gist.github.com/alexpchin/09939db6f81d654af06b
| **URL** |**HTTP Verb**|**Action**| | **URL** |**HTTP Verb**|**Action**|
|------------|-------------|------------| |-----------------|-------------|----------|
| /photos/ | GET | index | /photos/ | GET | index |
| /photos/new | GET | new | /photos/new | GET | new |
| /photos | POST | create | /photos | POST | create |
| /photos/:id | GET | show | /photos/:id | GET | show |
| /photos/:id/edit | GET | edit | /photos/:id/edit| GET | edit |
| /photos/:id | PATCH/PUT | update | /photos/:id | PATCH/PUT | update |
| /photos/:id | DELETE | destroy | /photos/:id | DELETE | destroy |
## Database ## Database
## Static ## Static

Loading…
Cancel
Save