Removed user param on userList method

This commit is contained in:
Horacio López 2020-11-17 20:16:10 -03:00 committed by GitHub
parent a34be087d9
commit 34243ccef4
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ public class UserController {
}
@GetMapping("/index")
public String userList(User user) {
public String userList() {
model.addAttribute("users", userRepository.findAll());
return "index";
}