add default route

Esse commit está contido em:
Alex Castillo
2016-05-13 16:54:53 -04:00
commit bd534b3216
+1 -1
Ver Arquivo
@@ -15,6 +15,7 @@ import { Routes, Router, ROUTER_PROVIDERS, ROUTER_DIRECTIVES } from '@angular/ro
})
@Routes([
{ path: '/', component: TimeSeriesComponent },
{ path: '/time-series', component: TimeSeriesComponent },
{ path: '/frequency/line', component: FrequencyComponent },
{ path: '/frequency/radar', component: FrequencyComponent },
@@ -29,7 +30,6 @@ export class DashboardComponent implements OnInit {
}
ngOnInit () {
this.router.navigate(['/time-series']);
}
}