From 0629423ce335137ce77d1ee8fe30fc0eee36d83b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Jul 2016 17:15:14 +0200 Subject: Client: Update to Angular RC4 --- client/src/app/videos/videos.routes.ts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 client/src/app/videos/videos.routes.ts (limited to 'client/src/app/videos/videos.routes.ts') diff --git a/client/src/app/videos/videos.routes.ts b/client/src/app/videos/videos.routes.ts new file mode 100644 index 000000000..1f088b376 --- /dev/null +++ b/client/src/app/videos/videos.routes.ts @@ -0,0 +1,27 @@ +import { RouterConfig } from '@angular/router'; + +import { VideoAddComponent } from './video-add'; +import { VideoListComponent } from './video-list'; +import { VideosComponent } from './videos.component'; +import { VideoWatchComponent } from './video-watch'; + +export const VideosRoutes: RouterConfig = [ + { + path: 'videos', + component: VideosComponent, + children: [ + { + path: 'list', + component: VideoListComponent + }, + { + path: 'add', + component: VideoAddComponent + }, + { + path: 'watch/:id', + component: VideoWatchComponent + } + ] + } +]; -- cgit v1.2.3