2016-06-09 13:00:26 -05:00
|
|
|
// #docregion
|
2016-07-16 17:34:26 -05:00
|
|
|
import { Injectable } from '@angular/core';
|
2016-06-09 13:00:26 -05:00
|
|
|
import { CanActivate } from '@angular/router';
|
|
|
|
|
2016-07-16 17:34:26 -05:00
|
|
|
@Injectable()
|
2016-06-09 13:00:26 -05:00
|
|
|
export class AuthGuard implements CanActivate {
|
|
|
|
canActivate() {
|
|
|
|
console.log('AuthGuard#canActivate called');
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|