From c6f2b3e96b1afebf122fe2186cf301d9234f5fc1 Mon Sep 17 00:00:00 2001 From: Yang Lin Date: Sat, 21 May 2016 01:00:04 +0800 Subject: [PATCH] docs(router): fix import and replace RouteConfig (#8433) --- modules/@angular/router/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/@angular/router/index.ts b/modules/@angular/router/index.ts index b07a00926a..e2c8544624 100644 --- a/modules/@angular/router/index.ts +++ b/modules/@angular/router/index.ts @@ -22,10 +22,10 @@ import {RouterLink} from './src/directives/router_link'; * * ``` * import {Component} from '@angular/core'; - * import {ROUTER_DIRECTIVES, Routes} from '@angular/router-deprecated'; + * import {ROUTER_DIRECTIVES, Routes} from '@angular/router'; * * @Component({directives: [ROUTER_DIRECTIVES]}) - * @RouteConfig([ + * @Routes([ * {...}, * ]) * class AppCmp {