feat views: Make wrappers import correctly (hopefully)

This commit is contained in:
purple 2024-03-28 13:46:27 +01:00
parent 915aa4e121
commit e2adf415a9
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@
<!-- wrapper:insert -->
@foreach (File::allFiles(__DIR__ . '/wrappers') as $partial)
@if ($partial->getExtension() == 'php')
@include(str_replace(base_path() . '/', '', $partial->getPathname()))
@include('blueprint.admin.wrappers.'.$partial->getPathname())
@endif
@endforeach
@endsection

View file

@ -7,7 +7,7 @@
<!-- wrapper:insert -->
@foreach (File::allFiles(__DIR__ . '/wrappers') as $partial)
@if ($partial->getExtension() == 'php')
@include(str_replace(base_path() . '/', '', $partial->getPathname()))
@include('blueprint.dashboard.wrappers.'.$partial->getPathname())
@endif
@endforeach
@endsection