Skip to content

Commit

Permalink
Update routing.rst
Browse files Browse the repository at this point in the history
This is to provide the default match between route name and controller action used
  • Loading branch information
MarwanSalim authored Jul 17, 2023
1 parent 9e385a1 commit e813b2d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions en/development/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,23 @@ only connect specific resource routes you can use the ``only`` option::
Would create read only resource routes. The route names are ``create``,
``update``, ``view``, ``index``, and ``delete``.

The default **route name and controller action used** are as follows:

=========== =======================
Route name Controller action used
=========== =======================
create add
----------- -----------------------
update edit
----------- -----------------------
view view
----------- -----------------------
index index
----------- -----------------------
delete delete
=========== =======================


Changing the Controller Actions Used
------------------------------------

Expand Down

0 comments on commit e813b2d

Please sign in to comment.