{switch (routing) {
- | Model(n) =>
- switch (Models.getById(n)) {
- | Some(model) =>
+ | Model(id) =>
+ switch (Models.getById(id)) {
+ | Some(model) =>
| None =>
{"Page is not found" |> E.ste}
}
+ | FormBuilder =>
{"Form Builder" |> E.ste}
| Home =>
{"Welcome" |> E.ste}
| _ =>
{"Page is not found" |> E.ste}
}}
;
-};
\ No newline at end of file
+};