fixed main frontend
This commit is contained in:
@@ -32,7 +32,7 @@ final class PageController extends Controller
|
||||
$data['is_home'] = $request->boolean('is_home');
|
||||
Page::create($data);
|
||||
|
||||
return redirect()->route('pages.index')->with('status', 'Page created.');
|
||||
return redirect()->route('administration.pages.index')->with('status', 'Page created.');
|
||||
}
|
||||
|
||||
public function edit(Page $page): View
|
||||
@@ -52,7 +52,7 @@ final class PageController extends Controller
|
||||
$data['is_home'] = $request->boolean('is_home');
|
||||
$page->update($data);
|
||||
|
||||
return redirect()->route('pages.index')->with('status', 'Page updated.');
|
||||
return redirect()->route('administration.pages.index')->with('status', 'Page updated.');
|
||||
}
|
||||
|
||||
public function destroy(Page $page): RedirectResponse
|
||||
|
||||
Reference in New Issue
Block a user