Skip to content

Commit a4db4e6

Browse files
gkalpakbtford
authored andcommitted
docs($location): fix description for rewriteLinks
1 parent aa1c23a commit a4db4e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/location.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -659,8 +659,8 @@ function $LocationProvider(){
659659
* whether or not a <base> tag is required to be present. If `enabled` and `requireBase` are
660660
* true, and a base tag is not present, an error will be thrown when `$location` is injected.
661661
* See the {@link guide/$location $location guide for more information}
662-
* - **rewriteLinks** - `{boolean}` - (default: `false`) When html5Mode is enabled, disables
663-
* url rewriting for relative linksTurns off url rewriting for relative links.
662+
* - **rewriteLinks** - `{boolean}` - (default: `true`) When html5Mode is enabled,
663+
* enables/disables url rewriting for relative links.
664664
*
665665
* @returns {Object} html5Mode object if used as getter or itself (chaining) if used as setter
666666
*/

0 commit comments

Comments
 (0)