library items parent_id

This commit is contained in:
Benjamin Takats
2023-01-19 14:59:29 +01:00
parent b1073919df
commit d1d98b6c31
7 changed files with 77 additions and 12 deletions

View File

@@ -30,7 +30,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
//Model::preventLazyLoading();
Model::preventLazyLoading(app()->environment('local'));
Stringable::macro('initials', function () {
$words = preg_split("/\s+/", $this);