Skip to content

Commit 52f5b57

Browse files
committed
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]
1 parent 3df54e5 commit 52f5b57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

guides/source/routing.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ Creating a resourceful route will also expose a number of helpers to the control
142142

143143
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.
144144

145+
TIP: To find the route helper names for your routes, see [Listing existing routes](#listing-existing-routes) below.
146+
145147
### Defining Multiple Resources at the Same Time
146148

147149
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`:

0 commit comments

Comments
 (0)