Skip to content

Commit 7f0925e

Browse files
docs(router): Updated documentation for router generate method
Closes angular#5399
1 parent 85d89ba commit 7f0925e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/angular2/src/router/router.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,7 @@ export class Router {
406406

407407

408408
/**
409-
* Generate a URL from a component name and optional map of parameters. The URL is relative to the
410-
* app's base href.
409+
* Generate an `Instruction` based on the provided Route Link DSL.
411410
*/
412411
generate(linkParams: any[]): Instruction {
413412
var ancestorInstructions = this._getAncestorInstructions();

0 commit comments

Comments
 (0)