diff --git a/src/main/webapp/js/controllers.js b/src/main/webapp/js/controllers.js index ac810a5d..dd90b6d4 100644 --- a/src/main/webapp/js/controllers.js +++ b/src/main/webapp/js/controllers.js @@ -936,10 +936,8 @@ function($scope, $location, $state, AdminSettingsService) { }; }]); -module.controller('FooterController', [ '$scope', '$location', '$state', - 'AdminSettingsService', -function($scope, $location, $state, AdminSettingsService) { - +module.controller('FooterController', [ '$scope', function($scope) { + var baseUrl = window.location.href.substring(0, window.location.href.lastIndexOf('#')); var hostname = window.location.hostname; $scope.subToMeUrl = baseUrl + 'rest/feed/subscribe?url={feed}';