File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ import { provideAuth } from 'angular2-jwt';
7272
7373import { AppComponent } from './app.component';
7474import { MainModule } from './main/main.module';
75- import { MainComponent } from './main/main.component';
75+ // import { MainComponent } from './main/main.component';
7676import { DirectivesModule } from '../components/directives.module';
7777import { AccountModule } from './account/account.module';
7878import { AdminModule } from './admin/admin.module';
@@ -101,11 +101,11 @@ if(constants.env === 'development') {
101101const appRoutes: Routes = [
102102 //{ path : 'crisis-center' , component : CrisisListComponent } ,
103103 //{ path : 'hero/:id' , component : HeroDetailComponent } ,
104- {
105- path : 'home' ,
106- component : MainComponent ,
107- data : { title : 'Home' }
108- } ,
104+ // {
105+ // path: 'home',
106+ // component: MainComponent,
107+ // data: { title: 'Home' }
108+ // },
109109 { path : '' ,
110110 redirectTo : '/home' ,
111111 pathMatch : 'full'
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { SocketService } from '../../components/socket/socket.service';<% } %>
1414
1515< % _ if ( filters . ngroute ) { _ % >
1616export const ROUTES: Routes = [
17- { path : '' , component : MainComponent } ,
17+ { path : 'home ' , component : MainComponent } ,
1818];< % } % >
1919< % _ if ( filters . uirouter ) { _ % >
2020export const STATES = [
You can’t perform that action at this time.
0 commit comments