hi I need to detect in my if rout has canActivate, but can't find how to do that.
service`
canActivate() {
this.userLogedin = localStorage.getItem('AUTHENTICATION');
//I need check here if rout has canActivate
if (this.userLogedin === 'false') {
this.router.navigateByUrl('');
return false;
}else {
return true;
}
}