Created
May 27, 2014 17:13
-
-
Save joshsmith/d6ee9f3c6c5eae5a7816 to your computer and use it in GitHub Desktop.
This file contains 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 TokenAuth from 'appkit/lib/token-auth'; | |
export default { | |
name: "token-auth", | |
before: "store", | |
initialize: function(container, application) { | |
application.register('auth:main', TokenAuth); | |
application.inject('controller', 'auth', 'auth:main'); | |
application.inject('route', 'auth', 'auth:main'); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment