forked from Archives/Athou_commafeed
import from google reader
This commit is contained in:
@@ -492,4 +492,18 @@ module.controller('SettingsCtrl', function($scope, $location, SettingsService) {
|
||||
window.location.href.lastIndexOf('#'));
|
||||
});
|
||||
};
|
||||
});
|
||||
|
||||
module.controller('ManageSettingsCtrl', function($scope, $location, AdminSettingsService) {
|
||||
|
||||
$scope.settings = AdminSettingsService.get();
|
||||
|
||||
$scope.cancel = function() {
|
||||
$location.path('/');
|
||||
};
|
||||
$scope.save = function() {
|
||||
AdminSettingsService.save({}, $scope.settings, function() {
|
||||
$location.path('/');
|
||||
});
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user