dashboard
repositories
activity
search
login
common
/
securis
summary
reflog
commits
tree
compare
forks
blame
|
history
|
raw
|
HEAD
#3527 feature - Added more features to angular2 version
rsanchez
2017-03-10
2762277c60db7df5ad3214b10a0dd93d4f2f1128
[common/securis.git]
/
securis
/
src
/
main
/
webapp
/
src
/
app
/
app.routes.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { Routes, RouterModule } from '@angular/router';
import { AppHomeComponent } from './app.component';
import { PackListComponent } from './pack.list.component';
import { LoginFormComponent } from './login.form.component';
const routes: Routes = [
// {path: '', redirectTo: '/packs', pathMatch: 'full'},
{path: 'packs', component: PackListComponent },
{path: 'login', component: LoginFormComponent }
];
/* {path: 'product', component: DashboardProductComponent, children: [
{path: '', component: ProductOverviewComponent},
{path: 'stats', component: ProductStatsComponent},
{path: 'features', children: [
{path: '', component: ProductFeaturesComponent},
{path: 'add', component: FeaturesFormComponent},
{path: ':id/delete', component: FeaturesFormComponent},
{path: ':id/edit', component: FeaturesFormComponent},
]},
]},
*/
export const appRoutingProviders: any[] = [
];
export const appRoutes: any = RouterModule.forRoot(routes, { useHash: true });