Skip to content

Commit 8d969ab

Browse files
committed
docs(sample): fix a drift from the code
1 parent 355d5a1 commit 8d969ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample/app/contacts/contacts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ angular.module('uiRouterSample.contacts', [
9292
// between 1 and 4.
9393

9494
// Since this state is also a child of 'contacts' its url is appended as well.
95-
// So its url will end up being '/contacts/{contactId:[0-9]{1,8}}'. When the
95+
// So its url will end up being '/contacts/{contactId:[0-9]{1,4}}'. When the
9696
// url becomes something like '/contacts/42' then this state becomes active
9797
// and the $stateParams object becomes { contactId: 42 }.
9898
url: '/{contactId:[0-9]{1,4}}',

0 commit comments

Comments
 (0)