Refactor: Update model attribute name in ProjectPage create method

pull/1/head
Lunix-420 2024-11-08 13:18:04 +01:00
parent e67fdaa01e
commit 05dc830048
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class ProjectPage {
*/
@GetMapping("/create")
public String create(Model model) {
model.addAttribute("projects", new Project());
model.addAttribute("project", new Project());
return "/pages/projects/create";
}
}