diff --git a/docs-web/src/main/webapp/src/app/docs/controller/Document.js b/docs-web/src/main/webapp/src/app/docs/controller/Document.js index 4c15e862..6af0d944 100644 --- a/docs-web/src/main/webapp/src/app/docs/controller/Document.js +++ b/docs-web/src/main/webapp/src/app/docs/controller/Document.js @@ -95,20 +95,6 @@ angular.module('docs').controller('Document', function($scope, $timeout, $state, $scope.loadDocuments(); }); - /** - * Go to add document form. - */ - $scope.addDocument = function() { - $state.transitionTo('document.add'); - }; - - /** - * Go to edit document form. - */ - $scope.editDocument = function(id) { - $state.transitionTo('document.edit', { id: id }); - }; - /** * Display a document. */ diff --git a/docs-web/src/main/webapp/src/partial/docs/document.html b/docs-web/src/main/webapp/src/partial/docs/document.html index 762b2ad3..1d773b59 100644 --- a/docs-web/src/main/webapp/src/partial/docs/document.html +++ b/docs-web/src/main/webapp/src/partial/docs/document.html @@ -2,7 +2,7 @@
- + Add a document