2016-06-09 13:00:26 -05:00
|
|
|
// #docregion
|
2016-07-07 18:46:35 -07:00
|
|
|
import { RouterConfig } from '@angular/router';
|
2016-07-16 17:34:26 -05:00
|
|
|
import { AuthGuard } from './auth-guard.service';
|
2016-06-09 13:00:26 -05:00
|
|
|
import { AuthService } from './auth.service';
|
|
|
|
import { LoginComponent } from './login.component';
|
|
|
|
|
2016-07-07 18:46:35 -07:00
|
|
|
export const loginRoutes: RouterConfig = [
|
2016-06-17 22:55:36 -04:00
|
|
|
{ path: 'login', component: LoginComponent }
|
2016-06-09 13:00:26 -05:00
|
|
|
];
|
|
|
|
|
2016-07-07 18:46:35 -07:00
|
|
|
export const authProviders = [AuthGuard, AuthService];
|