diff --git a/src/main/java/com/cloudogu/smeagol/wiki/infrastructure/PageController.java b/src/main/java/com/cloudogu/smeagol/wiki/infrastructure/PageController.java index 38c66f2a..785ad61b 100644 --- a/src/main/java/com/cloudogu/smeagol/wiki/infrastructure/PageController.java +++ b/src/main/java/com/cloudogu/smeagol/wiki/infrastructure/PageController.java @@ -58,8 +58,6 @@ public ResponseEntity createOrEdit( WikiId id = new WikiId(repositoryId, branch); Path path = pathExtractor.extractPathFromRequest(request, MAPPING, id); - // TODO return new page? this would safe us one request from the frontend. Is this resty? - if ( repository.exists(id, path) ) { return edit(id, path, payload); }