Skip to content

Commit c0a284f

Browse files
authored
Add Basset view path
1 parent 755a82f commit c0a284f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/AutomaticServiceProvider.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Backpack\CkeditorField;
44

55
use Backpack\CRUD\ViewNamespaces;
6+
use Backpack\Basset\Facades\Basset;
67

78
/**
89
* This trait automatically loads package stuff, if they're present
@@ -82,6 +83,8 @@ public function autoboot(): void
8283
if ($this->app->runningInConsole()) {
8384
$this->bootForConsole();
8485
}
86+
87+
Basset::addViewPath($this->packageViewsPath());
8588
}
8689

8790
/**

0 commit comments

Comments
 (0)