File tree 2 files changed +7
-7
lines changed
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';
72
72
73
73
import { AppComponent } from './app.component';
74
74
import { MainModule } from './main/main.module';
75
- import { MainComponent } from './main/main.component';
75
+ // import { MainComponent } from './main/main.component';
76
76
import { DirectivesModule } from '../components/directives.module';
77
77
import { AccountModule } from './account/account.module';
78
78
import { AdminModule } from './admin/admin.module';
@@ -101,11 +101,11 @@ if(constants.env === 'development') {
101
101
const appRoutes: Routes = [
102
102
//{ path : 'crisis-center' , component : CrisisListComponent } ,
103
103
//{ 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
+ // },
109
109
{ path : '' ,
110
110
redirectTo : '/home' ,
111
111
pathMatch : 'full'
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { SocketService } from '../../components/socket/socket.service';<% } %>
14
14
15
15
< % _ if ( filters . ngroute ) { _ % >
16
16
export const ROUTES: Routes = [
17
- { path : '' , component : MainComponent } ,
17
+ { path : 'home ' , component : MainComponent } ,
18
18
];< % } % >
19
19
< % _ if ( filters . uirouter ) { _ % >
20
20
export const STATES = [
You can’t perform that action at this time.
0 commit comments