console.logs
This commit is contained in:
parent
e703b8743c
commit
77a97ddcfc
|
@ -167,7 +167,9 @@ app.run(['$rootScope', '$state', 'Auth', '$location', function($rootScope, $stat
|
||||||
toPath: toState.url,
|
toPath: toState.url,
|
||||||
fromPath: fromState.url
|
fromPath: fromState.url
|
||||||
};
|
};
|
||||||
|
console.log('crmb obj ->', Crumbs);
|
||||||
$rootScope.urlCrumbs.push(Crumbs);
|
$rootScope.urlCrumbs.push(Crumbs);
|
||||||
|
console.log('CRUMBS ->', $rootScope.urlCrumbs);
|
||||||
if (requiresLogin && !Auth.isLoggedIn()) {
|
if (requiresLogin && !Auth.isLoggedIn()) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
$state.go('splash-page', { 'toState': toState.name });
|
$state.go('splash-page', { 'toState': toState.name });
|
||||||
|
|
Loading…
Reference in New Issue