From c18c9da4475e8e48507746f441186edf9fde18b1 Mon Sep 17 00:00:00 2001 From: Tyler Henkel Date: Mon, 27 Jan 2014 12:49:21 -0500 Subject: [PATCH] fix(app): fixed coffee service so it's min-safe closes #66 --- templates/coffeescript/services/auth.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/coffeescript/services/auth.coffee b/templates/coffeescript/services/auth.coffee index 714d996c1..b8947f7ef 100644 --- a/templates/coffeescript/services/auth.coffee +++ b/templates/coffeescript/services/auth.coffee @@ -1,7 +1,7 @@ 'use strict' angular.module('<%= scriptAppName %>') - .factory 'Auth', Auth = ($location, $rootScope, Session, User, $cookieStore) -> + .factory 'Auth', ($location, $rootScope, Session, User, $cookieStore) -> # Get currentUser from cookie $rootScope.currentUser = $cookieStore.get('user') or null