Merge pull request 'Refactor: Update model attribute name in ProjectPage create method' (#64) from 3002833/Backend:main into restfull
Reviewed-on: Maradona/Backend#64pull/1/head
commit
22b83e1070
|
@ -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