瀏覽代碼

and another thing

David Thornley 6 年之前
父節點
當前提交
b54d7c6e79
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/main/java/com/ziplinegreen/vault/Controller/PostController.java

+ 1
- 1
src/main/java/com/ziplinegreen/vault/Controller/PostController.java 查看文件

@@ -46,7 +46,7 @@ public class PostController {
46 46
 //    }
47 47
 
48 48
     @GetMapping("/posts/all")
49
-    Page<Post> pageAllPosts(Pageable pageable) {
49
+    public Page<Post> pageAllPosts(Pageable pageable) {
50 50
        return postService.listAllPostsByPageMostRecentFirst(pageable);
51 51
     }
52 52