File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -142,15 +142,15 @@ This single route declaration creates multiple routes to handle a variety of RES
142
142
143
143
** Actions Handled By Resource Controller**
144
144
145
- Verb | Path | Action
146
- ----------|-----------------------|--------------
147
- GET | /resource | index
148
- GET | /resource/create | create
149
- POST | /resource | store
150
- GET | /resource/{id} | show
151
- GET | /resource/{id}/edit | edit
152
- PUT/PATCH | /resource/{id} | update
153
- DELETE | /resource/{id} | destroy
145
+ Verb | Path | Action | Route Name
146
+ ----------|-----------------------|--------------|---------------------
147
+ GET | /resource | index | resource.index
148
+ GET | /resource/create | create | resource.create
149
+ POST | /resource | store | resource.store
150
+ GET | /resource/{id} | show | resource.show
151
+ GET | /resource/{id}/edit | edit | resource.edit
152
+ PUT/PATCH | /resource/{id} | update | resource.update
153
+ DELETE | /resource/{id} | destroy | resource.destroy
154
154
155
155
Sometimes you may only need to handle a subset of the resource actions:
156
156
You can’t perform that action at this time.
0 commit comments