Link to listing existing routes

This is a very helpful tool in understanding route helper names, which can sometimes get quite long, especially including namespaces. So it would be really helpful for a developer to learn how to discover these.

[skip ci]
This commit is contained in:
David Cook 2021-11-12 09:50:56 +11:00
parent 3df54e577c
commit 52f5b572ff
1 changed files with 2 additions and 0 deletions

View File

@ -142,6 +142,8 @@ Creating a resourceful route will also expose a number of helpers to the control
Each of these helpers has a corresponding `_url` helper (such as `photos_url`) which returns the same path prefixed with the current host, port, and path prefix.
TIP: To find the route helper names for your routes, see [Listing existing routes](#listing-existing-routes) below.
### Defining Multiple Resources at the Same Time
If you need to create routes for more than one resource, you can save a bit of typing by defining them all with a single call to `resources`: