added feature for binding form to page and fixing bugs
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user