mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
injections cleanup
This commit is contained in:
@@ -936,10 +936,8 @@ function($scope, $location, $state, AdminSettingsService) {
|
|||||||
};
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
module.controller('FooterController', [ '$scope', '$location', '$state',
|
module.controller('FooterController', [ '$scope', function($scope) {
|
||||||
'AdminSettingsService',
|
|
||||||
function($scope, $location, $state, AdminSettingsService) {
|
|
||||||
|
|
||||||
var baseUrl = window.location.href.substring(0, window.location.href.lastIndexOf('#'));
|
var baseUrl = window.location.href.substring(0, window.location.href.lastIndexOf('#'));
|
||||||
var hostname = window.location.hostname;
|
var hostname = window.location.hostname;
|
||||||
$scope.subToMeUrl = baseUrl + 'rest/feed/subscribe?url={feed}';
|
$scope.subToMeUrl = baseUrl + 'rest/feed/subscribe?url={feed}';
|
||||||
|
|||||||
Reference in New Issue
Block a user