Skip to content

Commit 3efae44

Browse files
Fix typo / missing quote in routing guide [ci skip]
1 parent 70bf0cb commit 3efae44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/routing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ resources :photos
11471147

11481148
This changes the route helpers for `/admin/photos` from `photos_path`,
11491149
`new_photos_path`, etc. to `admin_photos_path`, `new_admin_photo_path`,
1150-
etc. Without the addition of `as: 'admin_photos` on the scoped `resources
1150+
etc. Without the addition of `as: 'admin_photos'` on the scoped `resources
11511151
:photos`, the non-scoped `resources :photos` will not have any route helpers.
11521152

11531153
To prefix a group of route helpers, use `:as` with `scope`:

0 commit comments

Comments
 (0)