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',
|
||||
'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}';
|
||||
|
||||
Reference in New Issue
Block a user