Created
May 30, 2015 20:08
-
-
Save typeoneerror/38aa7cd148f9686ecc78 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
| import AuthenticatedRoute from 'doki/routes/authenticated'; | |
| export default AuthenticatedRoute.extend({ | |
| requireDean: false, | |
| activate() { | |
| this._super(); | |
| this.checkAccess(); | |
| }, | |
| afterModel() { | |
| this._super(); | |
| this.checkAccess(); | |
| }, | |
| resetController() { | |
| this._super(); | |
| this.checkAccess(); | |
| }, | |
| checkAccess() { | |
| console.log('checkAccess'); | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment