Skip to content

Commit

Permalink
Fix method naming issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
nkevins committed Jan 29, 2018
1 parent 68df511 commit 01b8d88
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ public HomeController(TenderService tenderService, CodeValueService codeValueSer
}

/**
* Handles all requests
* This method is used to show home page.
*
* @param pageSize size of the page
* @param page current page
* @param model modelMap
* @return String
*/
@GetMapping("/")
public String showPersonsPage(@RequestParam("pageSize") Optional<Integer> pageSize,
public String showHomePage(@RequestParam("pageSize") Optional<Integer> pageSize,
@RequestParam("page") Optional<Integer> page, ModelMap model) {
// Evaluate page size. If requested parameter is null, return initial page size
int evalPageSize = pageSize.orElse(TTConstants.INITIAL_PAGE_SIZE);
Expand Down

0 comments on commit 01b8d88

Please sign in to comment.