Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Last active December 10, 2016 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/da9a0dab2602167855f426d12470e978 to your computer and use it in GitHub Desktop.
Save matthieu-D/da9a0dab2602167855f426d12470e978 to your computer and use it in GitHub Desktop.
import {CanActivate} from "@angular/router";
export class ActivateGuard implements CanActivate {
canActivate() {
return false;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment