classes/Controllers/Base.php
protected function overrideViews()
    {
        $dir = Str::snake($this->controllerName());
        $path = base_path('resources/views/admin/').$dir;
        app('view')->prependNamespace('decoy', $path);
    }
protected function overrideViews()
    {
        $dir = Str::snake($this->controllerName());
        $path = base_path('resources/views/admin/').$dir;
        app('view')->prependNamespace('decoy', $path);
    }
protected function overrideViews ( ) { $ dir = Str :: snake ( $ this -> controllerName ( ) ) ; $ path = base_path ( 'resources/views/admin/' ) . $ dir ; app ( 'view' ) -> prependNamespace ( 'decoy' , $ path ) ; }
Tell Laravel to look for view files within the app admin views so that,
on a controller-level basis, the app can customize elements of an admin
view through it's partials.

@return void
Tell Laravel to look for view files within the app admin views so that on a controller - level basis the app can customize elements of an admin view through it s partials .