uncomment code
This commit is contained in:
parent
4e16edf4ba
commit
f02300ed2b
|
@ -163,7 +163,7 @@ app.run(['$rootScope', '$state', 'Auth', '$location', function($rootScope, $stat
|
||||||
};
|
};
|
||||||
$rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams) {
|
$rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams) {
|
||||||
var requiresLogin = toState.data.requiresLogin;
|
var requiresLogin = toState.data.requiresLogin;
|
||||||
// toState.data.session = $location.search();
|
toState.data.session = $location.search();
|
||||||
$rootScope.redirectedURL = toState.url;
|
$rootScope.redirectedURL = toState.url;
|
||||||
var query = $location.search();
|
var query = $location.search();
|
||||||
$rootScope.urlArray.push($rootScope.redirectedURL);
|
$rootScope.urlArray.push($rootScope.redirectedURL);
|
||||||
|
|
Loading…
Reference in New Issue