Refactor: Update model attribute name in ProjectPage create method
parent
e67fdaa01e
commit
05dc830048
|
@ -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";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue