|
@@ -5,7 +5,6 @@ namespace App\Providers;
|
|
use Illuminate\Support\Facades\DB;
|
|
use Illuminate\Support\Facades\DB;
|
|
use Illuminate\Support\Facades\Log;
|
|
use Illuminate\Support\Facades\Log;
|
|
use Illuminate\Support\ServiceProvider;
|
|
use Illuminate\Support\ServiceProvider;
|
|
-use Dcat\Admin\Layout\Content;
|
|
|
|
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
{
|
|
@@ -18,12 +17,7 @@ class AppServiceProvider extends ServiceProvider
|
|
{
|
|
{
|
|
|
|
|
|
require_once __DIR__.'/../helpers.php';
|
|
require_once __DIR__.'/../helpers.php';
|
|
-
|
|
+
|
|
- $newContent = new Content();
|
|
|
|
- $newContent->view('admin.layouts.content');
|
|
|
|
- $this->app->singleton(Content::class, function () use ($newContent) {
|
|
|
|
- return $newContent;
|
|
|
|
- });
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|