Created
June 10, 2020 12:58
-
-
Save ojhaujjwal/8f54aa79687207a3ee1e1e48db1b491f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@AdminController(options) { | |
@Controller({ path: '/admin' + options.path }) | |
@AuthenticationGuard() | |
@AccessControlGuard({ role: 'admin' }) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment