Removed user param on userList method
This commit is contained in:
parent
a34be087d9
commit
34243ccef4
|
@ -24,7 +24,7 @@ public class UserController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/index")
|
@GetMapping("/index")
|
||||||
public String userList(User user) {
|
public String userList() {
|
||||||
model.addAttribute("users", userRepository.findAll());
|
model.addAttribute("users", userRepository.findAll());
|
||||||
return "index";
|
return "index";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue