Skip to content

Commit

Permalink
Fix nested resources url example
Browse files Browse the repository at this point in the history
  • Loading branch information
adbario committed Feb 13, 2020
1 parent b8bbe75 commit f87f48e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Sometimes you may need to define routes to a "nested" resource. For example, a p

Route::resource('photos.comments', 'PhotoCommentController');

This route will register a "nested" resource that may be accessed with URLs like the following: photos/{photos}/comments/{comments}.
This route will register a "nested" resource that may be accessed with URLs like the following: photos/{photo}/comments/{comment}.

#### Shallow Nesting

Expand Down

0 comments on commit f87f48e

Please sign in to comment.