You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]
Copy file name to clipboardExpand all lines: guides/source/routing.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,6 +142,8 @@ Creating a resourceful route will also expose a number of helpers to the control
142
142
143
143
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.
144
144
145
+
TIP: To find the route helper names for your routes, see [Listing existing routes](#listing-existing-routes) below.
146
+
145
147
### Defining Multiple Resources at the Same Time
146
148
147
149
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