Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 696928d

Browse files
Steven PetrykIgorMinar
Steven Petryk
authored andcommitted
docs($routeProvider): fix indentation
Closes #6345 Somebody accidentally padded a list with one-too-many indentations, which caused the actual documentation page to render incorrectly. This should fix it.
1 parent cbcfaa2 commit 696928d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ngRoute/route.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,19 @@ function $RouteProvider(){
5151
* `$location.path` will be updated to add or drop the trailing slash to exactly match the
5252
* route definition.
5353
*
54-
* * `path` can contain named groups starting with a colon: e.g. `:name`. All characters up
54+
* * `path` can contain named groups starting with a colon: e.g. `:name`. All characters up
5555
* to the next slash are matched and stored in `$routeParams` under the given `name`
5656
* when the route matches.
57-
* * `path` can contain named groups starting with a colon and ending with a star:
57+
* * `path` can contain named groups starting with a colon and ending with a star:
5858
* e.g.`:name*`. All characters are eagerly stored in `$routeParams` under the given `name`
5959
* when the route matches.
60-
* * `path` can contain optional named groups with a question mark: e.g.`:name?`.
60+
* * `path` can contain optional named groups with a question mark: e.g.`:name?`.
6161
*
6262
* For example, routes like `/color/:color/largecode/:largecode*\/edit` will match
6363
* `/color/brown/largecode/code/with/slashs/edit` and extract:
6464
*
65-
* * `color: brown`
66-
* * `largecode: code/with/slashs`.
65+
* * `color: brown`
66+
* * `largecode: code/with/slashs`.
6767
*
6868
*
6969
* @param {Object} route Mapping information to be assigned to `$route.current` on route

0 commit comments

Comments
 (0)