Redid 404 and 500 routing, and redid authguard to point to /login

This commit is contained in:
Tom Bloor 2017-08-15 16:12:55 +01:00
parent 20330bc220
commit 8939c18335
3 changed files with 18 additions and 20 deletions

View file

@ -21,6 +21,10 @@ import { AuthGuard } from './_guards/auth.guard';
import { FullLayoutComponent } from './layouts/full-layout.component';
import { SimpleLayoutComponent } from './layouts/simple-layout.component';
// Error Pages
import { P404Component } from './pages/404.component';
import { P500Component } from './pages/500.component';
// Submodules
import { AuthModule } from './auth/auth.module';
@ -42,6 +46,8 @@ import { AuthModule } from './auth/auth.module';
BreadcrumbsComponent,
SIDEBAR_TOGGLE_DIRECTIVES,
AsideToggleDirective,
P404Component,
P500Component,
],
providers: [
AuthGuard,