Merge pull request 'Refactor: Update model attribute name in ProjectPage create method' (#64) from 3002833/Backend:main into restfull

Reviewed-on: Maradona/Backend#64
pull/1/head
David Hess 2024-11-08 13:19:12 +01:00
commit 22b83e1070
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";
}
}