We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 788fda0 commit c18c9daCopy full SHA for c18c9da
templates/coffeescript/services/auth.coffee
@@ -1,7 +1,7 @@
1
'use strict'
2
3
angular.module('<%= scriptAppName %>')
4
- .factory 'Auth', Auth = ($location, $rootScope, Session, User, $cookieStore) ->
+ .factory 'Auth', ($location, $rootScope, Session, User, $cookieStore) ->
5
6
# Get currentUser from cookie
7
$rootScope.currentUser = $cookieStore.get('user') or null
0 commit comments