Skip to content

Commit

Permalink
fix: edit dashboard (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
theus77 authored Aug 28, 2023
1 parent 8777b07 commit f3bc244
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function edit(Request $request, Dashboard $dashboard, bool $create = fals
return $this->redirectToRoute(Routes::DASHBOARD_ADMIN_INDEX);
}

return $this->render($create ? "@$this->templateNamespace/dashboard/add.html.twig" : "@$this->templateNamespace/dashboard/edit.html.twig'", [
return $this->render($create ? "@$this->templateNamespace/dashboard/add.html.twig" : "@$this->templateNamespace/dashboard/edit.html.twig", [
'form' => $form->createView(),
'dashboard' => $dashboard,
]);
Expand Down

0 comments on commit f3bc244

Please sign in to comment.