added feature for binding form to page and fixing bugs

This commit is contained in:
F4ilji
2025-04-22 21:15:03 +05:00
parent aea6304ac4
commit 45c84e7ffb
12 changed files with 107 additions and 9 deletions
+2
View File
@@ -37,6 +37,7 @@ class PageController extends Controller
->first();
});
if ($page === null) {
abort(404);
}
@@ -51,6 +52,7 @@ class PageController extends Controller
abort($page->code);
}
return Inertia::render('Page', compact('page', 'subSectionPages', 'seo'));
}
}