Verb | URI | Action | Route Name | View | Policy | Middleware |
---|---|---|---|---|---|---|
GET | /resources | index | resources.index | resources.list | list | can:list,Resource::class |
GET | /resources/create | create | resources.create | resources.create | create | can:create,Resource::class |
POST | /resources | store | resources.store | create | can:create,Resource::class | |
GET | /resources/{resource} | show | resources.show | resources.show | view | can:view,resource |
GET | /resources/{resource}/edit | edit | resources.edit | resources.edit | update | can:update,resource |
PUT/PATCH | /resources/{resource} | update | resources.update | update | can:update,resource | |
DELETE | /resources/{resource} | destroy | resources.destroy | delete | can:delete,resource |
-
-
Save Maxlab/dad53437d0a2bbf958da2fc901faf679 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment