From 856edc2f927dc84d8a218575cc64efcce53d7848 Mon Sep 17 00:00:00 2001 From: tomasz stryjewski Date: Tue, 16 Jun 2015 10:51:57 +0200 Subject: [PATCH] Update Authenticated.js --- modules/Authentication/Authenticated.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Authentication/Authenticated.js b/modules/Authentication/Authenticated.js index 74b3adb..f6ff0cc 100644 --- a/modules/Authentication/Authenticated.js +++ b/modules/Authentication/Authenticated.js @@ -12,7 +12,7 @@ module.config(function($stateProvider) templateUrl: 'modules/Authenticated/Authenticated.html', abstract: true, resolve: { - authenticatedUser: (User, Authentication, $state, $q, $http) => { + user: (User, Authentication, $state, $q) => { return Authentication.checkCredentials().then((response) => { return new User(response.data); }, (error) => {