Skip to content

Commit

Permalink
HomeController mapping url 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sukyeongs committed Jun 4, 2021
1 parent b561900 commit eaed767
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/main/java/com/efub/clone/acmicpc/web/HomeController.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,16 @@ public class HomeController {
public final BoardService boardService;
public final ProblemService problemService;

@GetMapping
@RequestMapping(value = "/")
@GetMapping("/home1")
public List<BoardListResponseDto> board_findAllDesc() { return boardService.findAllDesc(); }

@GetMapping
@RequestMapping(value = "/")
@GetMapping("/home2")
public List<ProblemListResponseDto> problem_findAllDesc() { return problemService.findAllDesc(); }

@GetMapping
@RequestMapping(value = "/")
@GetMapping("/home3")
public List<ProblemListResponseDto> findMultilingual() { return problemService.findMultilingualDesc(); }

@GetMapping
@RequestMapping(value = "/")
@GetMapping("/home4")
public List<ProblemListResponseDto> findAllSortByRank(){
return problemService.findAllSortByRank();
}
Expand Down

0 comments on commit eaed767

Please sign in to comment.