remove loader on filters

stable
Juanfran 2015-05-27 08:29:28 +02:00
parent d8b8af7e00
commit 6e8a0600d9
1 changed files with 1 additions and 1 deletions

View File

@ -505,7 +505,7 @@ init = ($log, $rootscope, $auth, $events, $analytics, $translate, $location, $na
# Analytics
$analytics.initialize()
$rootscope.$on '$routeChangeStart', (event, next) ->
$rootscope.$on '$routeChangeSuccess', (event, next) ->
if next.access && next.access.requiresLogin
if !$auth.isAuthenticated()
$location.path($navUrls.resolve("login"))