Ver Fonte

Merge remote-tracking branch 'origin/release-201807-suntg' into release-201807-suntg

hejq há 7 anos atrás
pai
commit
d02b9f6dd3
1 ficheiros alterados com 1 adições e 25 exclusões
  1. 1 25
      src/main/webapp/resources/js/index/app.js

+ 1 - 25
src/main/webapp/resources/js/index/app.js

@@ -23,31 +23,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
         return httpInterceptor;
     }]);
     app.config(['$stateProvider', '$urlRouterProvider', function ($stateProvider, $urlRouterProvider) {
-        $stateProvider.state('index', {
-            url: "/index",
-            views: {
-                "left-view": {
-                    templateUrl: "static/tpl/index/home/left.html",
-                    controller: 'LeftCtrl'
-                },
-                "right-view": {
-                    templateUrl: "static/tpl/index/home/right.html",
-                    controller: 'RightCtrl'
-                }
-            }
-        }).state('home', {
-            url: "/",
-            views: {
-                "left-view": {
-                    templateUrl: "static/tpl/index/home/left.html",
-                    controller: 'LeftCtrl'
-                },
-                "right-view": {
-                    templateUrl: "static/tpl/index/home/right.html",
-                    controller: 'RightCtrl'
-                }
-            }
-        }).state('sale', {
+        $stateProvider.state('sale', {
             url: "/sale",
             views: {
                 "left-view": {