Skip to content

Commit f8cf2dd

Browse files
committed
Simplify a constructor in PageController
1 parent 748f4f0 commit f8cf2dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/commonwl/view/PageController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class PageController {
3535
*/
3636
@GetMapping("/")
3737
public String homePage(Model model, @RequestParam(value = "url", required = false) String defaultURL) {
38-
model.addAttribute("workflowForm", new WorkflowForm(defaultURL, "", ""));
38+
model.addAttribute("workflowForm", new WorkflowForm(defaultURL));
3939
return "index";
4040
}
4141

0 commit comments

Comments
 (0)