No hint path defined for [backpack]. when show abort in public page #573
-
Hi guys, I have a question, so i want to show the error page not in backpack panel, but for public page I have this case as an example //web.php inside routes folder
Route::get('/', function () {
return abort(403,'No access');
} What did I do what I want please help me out, i can solve this with show them a custom blade file to handle this, but I want to know why the abort function does not work thanks guys 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The reason you're no longer seeing Backpack error pages in non-admin-panel pages is... because we fixed it 😀 It usually doesn't make sense to have the admin panel design dictate something in the app itself, not even just error views. So in v6 the error pages have been moved, they're no longer in You can still show Backpack error pages in custom pages, but ONLY if they're in the admin panel (under the admin panel URL prefix). To us, that's the only place where they make sense. If you liked the previous behaviour where app errors looked like Backpack errors, you should be able to copy them from vendor to your Hope it helps. |
Beta Was this translation helpful? Give feedback.
The reason you're no longer seeing Backpack error pages in non-admin-panel pages is... because we fixed it 😀 It usually doesn't make sense to have the admin panel design dictate something in the app itself, not even just error views. So in v6 the error pages have been moved, they're no longer in
resources/views/errors
.You can still show Backpack error pages in custom pages, but ONLY if they're in the admin panel (under the admin panel URL prefix). To us, that's the only place where they make sense.
If you liked the previous behaviour where app errors looked like Backpack errors, you should be able to copy them from vendor to your
resources/views/errors
and fix the layout a bit, to have t…