Skip to content

Commit

Permalink
Expand anchor text [ci-skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanhefner committed Feb 13, 2022
1 parent fc7a953 commit 56d8d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ Deeply-nested resources quickly become cumbersome. In this case, for example, th
/publishers/1/magazines/2/photos/3
```

The corresponding route helper would be `publisher_magazine_photo_url`, requiring you to specify objects at all three levels. Indeed, this situation is confusing enough that a popular [article](http://weblog.jamisbuck.org/2007/2/5/nesting-resources) by Jamis Buck proposes a rule of thumb for good Rails design:
The corresponding route helper would be `publisher_magazine_photo_url`, requiring you to specify objects at all three levels. Indeed, this situation is confusing enough that a [popular article by Jamis Buck](http://weblog.jamisbuck.org/2007/2/5/nesting-resources) proposes a rule of thumb for good Rails design:

TIP: Resources should never be nested more than 1 level deep.

Expand Down

0 comments on commit 56d8d10

Please sign in to comment.