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