diff --git a/src/Umbraco.Web.UI.Client/src/views/common/legacy.controller.js b/src/Umbraco.Web.UI.Client/src/views/common/legacy.controller.js index 520c22e4a4..81a601f531 100644 --- a/src/Umbraco.Web.UI.Client/src/views/common/legacy.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/common/legacy.controller.js @@ -8,12 +8,7 @@ * */ function LegacyController($scope, $routeParams, $element) { - $scope.legacyPath = decodeURIComponent($routeParams.url); - - //$scope.$on('$routeChangeSuccess', function () { - // var asdf = $element; - //}); } angular.module("umbraco").controller('Umbraco.LegacyController', LegacyController); \ No newline at end of file