Lots of refactor with auth guards and functional customer routing
This commit is contained in:
parent
52fbda7157
commit
24037e0454
13 changed files with 143 additions and 1017 deletions
|
@ -15,6 +15,8 @@ import { BreadcrumbsComponent } from './shared/breadcrumb.component';
|
|||
// Routing & Guard Module
|
||||
import { AppRoutingModule } from './app.routing';
|
||||
import { AuthGuard } from './_guards/auth.guard';
|
||||
import { OrgGuard } from './_guards/org.guard';
|
||||
import { CustomerGuard } from './_guards/customer.guard';
|
||||
import { ApiService } from './providers/api-service';
|
||||
|
||||
import { OrgGraphsService } from './providers/org-graphs.service';
|
||||
|
@ -55,6 +57,8 @@ import { DashboardModule } from './dashboard/dashboard.module';
|
|||
],
|
||||
providers: [
|
||||
AuthGuard,
|
||||
OrgGuard,
|
||||
CustomerGuard,
|
||||
ApiService,
|
||||
OrgGraphsService,
|
||||
{
|
||||
|
|
Reference in a new issue