2016-07-05 21:20:33 -05:00
|
|
|
// #docregion
|
2016-08-09 17:38:25 +01:00
|
|
|
import { RouterConfig } from '@angular/router';
|
2016-07-05 21:20:33 -05:00
|
|
|
|
|
|
|
import { MovieListComponent } from './movie-list.component';
|
|
|
|
|
2016-08-09 17:38:25 +01:00
|
|
|
export const routes: RouterConfig = [
|
2016-07-05 21:20:33 -05:00
|
|
|
{ path: '', redirectTo: '/movies', pathMatch: 'full' },
|
|
|
|
{ path: 'movies', component: MovieListComponent }
|
|
|
|
];
|