dtkt / errors
There is no license information available for the latest version (1.0.1) of this package.
DtKt errors views module
1.0.1
2019-04-01 08:58 UTC
Requires
- rabbitcms/modules: ^2.1
This package is auto-updated.
Last update: 2024-11-29 05:50:54 UTC
README
Need to override method registerErrorViewPaths
in your App\Exceptions\Handler
class.
protected function registerErrorViewPaths() { $paths = collect(config('view.paths')); View::addNamespace('errors', $paths->map(function ($path) { return "{$path}/errors"; })->push(dirname((new \ReflectionClass(\Illuminate\Foundation\Exceptions\Handler::class))->getFileName()).'/views')->all()); }