Skip to content

Commit 7d56eda

Browse files
committed
Merge pull request #316 from cevn/fix-coffeescript-minsafe
fix(app): fix dependency injection minsafe problem in auth service
2 parents 70c6309 + 03742a8 commit 7d56eda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: app/templates/client/components/auth(auth)/auth.service(coffee).coffee

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
angular.module('<%= scriptAppName %>').factory 'Auth', Auth = ($location, $rootScope, $http, User, $cookieStore, $q) ->
3+
angular.module('<%= scriptAppName %>').factory 'Auth', ($location, $rootScope, $http, User, $cookieStore, $q) ->
44
currentUser = {}
55
currentUser = User.get() if $cookieStore.get('token')
66

@@ -113,4 +113,4 @@ angular.module('<%= scriptAppName %>').factory 'Auth', Auth = ($location, $rootS
113113
Get auth token
114114
###
115115
getToken: ->
116-
$cookieStore.get 'token'
116+
$cookieStore.get 'token'

0 commit comments

Comments
 (0)