diff --git a/src/Umbraco.Web.UI.Client/build/belle/views/content/edit.controller.js b/src/Umbraco.Web.UI.Client/build/belle/views/content/edit.controller.js deleted file mode 100644 index 56e35b5821..0000000000 --- a/src/Umbraco.Web.UI.Client/build/belle/views/content/edit.controller.js +++ /dev/null @@ -1,22 +0,0 @@ -angular.module("umbraco") -.controller("Umbraco.Editors.ContentEditController", - function ($scope, $routeParams, contentResource, notificationsService) { - - if($routeParams.create) - $scope.content = contentResource.getContentScaffold($routeParams.id, $routeParams.doctype); - else - $scope.content = contentResource.getContent($routeParams.id); - - - $scope.saveAndPublish = function (cnt) { - cnt.publishDate = new Date(); - contentResource.publishContent(cnt); - notificationsService.success("Published", "Content has been saved and published"); - }; - - $scope.save = function (cnt) { - cnt.updateDate = new Date(); - contentResource.saveContent(cnt); - notificationsService.success("Saved", "Content has been saved"); - }; -}); \ No newline at end of file