Skip to content

Commit

Permalink
docs($route): change routes property to correct type
Browse files Browse the repository at this point in the history
change $route.routes property type to Object, property is marked incorrectly as an Array

Closes angular#6552
  • Loading branch information
doodeec authored and IgorMinar committed Mar 10, 2014
1 parent 7833ce0 commit 0d8de2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngRoute/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 247,7 @@ function $RouteProvider(){
* - `$scope` - The current route scope.
* - `$template` - The current route template HTML.
*
* @property {Array.<Object>} routes Array of all configured routes.
* @property {Object} routes Object with all route configuration Objects as its properties.
*
* @description
* `$route` is used for deep-linking URLs to controllers and views (HTML partials).
Expand Down

0 comments on commit 0d8de2d

Please sign in to comment.