Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Route::resource('photos', 'PhotoController');
- Verbo | URI | Método | Nome da rota
- ----------+----------------------+---------+--------------
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement