From ab47678d768178de568d09b1a8c53470527af1a3 Mon Sep 17 00:00:00 2001
From: rsanchez <rsanchez@curisit.net>
Date: Fri, 05 Dec 2014 12:12:32 +0000
Subject: [PATCH] #396 fix - Highlight of current section, changed Packs listing to include necessary codes for licenses
---
securis/src/main/webapp/js/main.js | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/securis/src/main/webapp/js/main.js b/securis/src/main/webapp/js/main.js
index aa73fd3..4528dc1 100644
--- a/securis/src/main/webapp/js/main.js
+++ b/securis/src/main/webapp/js/main.js
@@ -84,9 +84,8 @@
m.controller('MainCtrl', ['$scope', '$http', '$location', '$L', '$store',
function($scope, $http, $location, $L, $store) {
- $scope.currentRoute = null;
- console.log('Current location: ' + $location);
- console.log($location);
+ $scope.$location = $location;
+
$location.path('/login');
if ($store.get('token') != null) {
--
Gitblit v1.3.2