Skip to content

Commit

Permalink
Merge pull request #43632 from dacook/patch-1
Browse files Browse the repository at this point in the history
Guides: Mention rake routes task
  • Loading branch information
eileencodes committed Nov 16, 2021
2 parents 1a06f5d + 52f5b57 commit dea5603
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guides/source/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down

0 comments on commit dea5603

Please sign in to comment.