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:
parent
3df54e577c
commit
52f5b572ff
|
@ -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`:
|
||||
|
|
Loading…
Reference in New Issue