diff options
Diffstat (limited to 'js/app/controllers/settingscontroller.coffee')
-rw-r--r-- | js/app/controllers/settingscontroller.coffee | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/app/controllers/settingscontroller.coffee b/js/app/controllers/settingscontroller.coffee index 3c6a7771e..a1632a761 100644 --- a/js/app/controllers/settingscontroller.coffee +++ b/js/app/controllers/settingscontroller.coffee @@ -22,17 +22,17 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. angular.module('News').controller 'SettingsController', -['$scope', 'FeedBl', 'FolderBl', 'ShowAll', -($scope, FeedBl, FolderBl, ShowAll) -> +['$scope', 'FeedBusinessLayer', 'FolderBusinessLayer', 'ShowAll', +($scope, FeedBusinessLayer, FolderBusinessLayer, ShowAll) -> - $scope.feedBl = FeedBl + $scope.feedBusinessLayer = FeedBusinessLayer $scope.import = (fileContent) => $scope.error = false ShowAll.setShowAll(true) try - FolderBl.import(fileContent) + FolderBusinessLayer.import(fileContent) catch error console.error error $scope.error = true |