Created
June 23, 2017 17:03
-
-
Save alejandrofloresm/a3b85963ea4491078aeebd913cb07bed to your computer and use it in GitHub Desktop.
Laravel Resources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+----------------------------------------+----------------------+---------+----------------+ | |
| Actions Handled By Resource Controller | | | | | |
+----------------------------------------+----------------------+---------+----------------+ | |
| Verb | URI | Action | Route Name | | |
| GET | /photos | index | photos.index | | |
| GET | /photos/create | create | photos.create | | |
| POST | /photos | store | photos.store | | |
| GET | /photos/{photo} | show | photos.show | | |
| GET | /photos/{photo}/edit | edit | photos.edit | | |
| PUT/PATCH | /photos/{photo} | update | photos.update | | |
| DELETE | /photos/{photo} | destroy | photos.destroy | | |
+----------------------------------------+----------------------+---------+----------------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment