Controller에서 model 객체에 넣어둔 data 다루기 BaseController.java @Slf4j @RequiredArgsConstructor @Controller public class BaseController { private final BoardService boardService; @GetMapping("/") public String index(@PageableDefault(page = 0, size = 10, direction = Direction.DESC, sort = {"bno"}) Pageable pageable, Model model) { model.addAttribute("list", boardService.boardList(pageable)); model.addAtt..