Skip to content

Commit 3f540e3

Browse files
jamiekrugpetebacondarwin
authored andcommitted
docs(tutorial/step-07): fix typo in route pattern
One instance of `/phones/:phoneId` erroneously had a singular version, `/phone/:phoneId`, which does not match what was actually used in the code. Closes angular#7313
1 parent 8b91aa6 commit 3f540e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/tutorial/step_07.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ Our application routes are defined as follows:
247247
controller.
248248

249249
* `when('/phones/:phoneId')`: The phone details view will be shown when the URL hash fragment
250-
matches '/phone/:phoneId', where `:phoneId` is a variable part of the URL. To construct the phone
250+
matches '/phones/:phoneId', where `:phoneId` is a variable part of the URL. To construct the phone
251251
details view, Angular will use the `phone-detail.html` template and the `PhoneDetailCtrl`
252252
controller.
253253

0 commit comments

Comments
 (0)