Skip to content

Commit

Permalink
Merge pull request #80 from silverprize/restful-api
Browse files Browse the repository at this point in the history
게시물 목록api 구현
  • Loading branch information
pio authored Jul 10, 2016
2 parents 831ad93 + effe162 commit 15cbc3d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public Map<String, Object> freeList(@RequestParam(required = false) String page,
BoardListInfo paging = new BoardListInfo();
paging.setPage(Objects.isNull(page) ? 1 : Integer.parseInt(page));
paging.setSize(Objects.isNull(size) ? CommonConst.BOARD_MAX_LIMIT : Integer.parseInt(size));
paging.setCategory(Objects.isNull(category) ? CommonConst.BOARD_CATEGORY_NONE : category);
paging.setCategory(Objects.isNull(category) ? CommonConst.BOARD_CATEGORY_ALL : category);
Locale locale = localeResolver.resolveLocale(request);
return boardFreeService.getFreePostsList(locale, paging);
}
Expand Down

0 comments on commit 15cbc3d

Please sign in to comment.