Skip to content

Commit b5a093d

Browse files
committed
Update nova support
1 parent 834157d commit b5a093d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/NovaSupport.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected function bootLaravelNova(
3131
$moduleDir = module_path($this->moduleName);
3232
$moduleUcFirst = Str::ucfirst($this->moduleName);
3333

34-
Nova::serving(function (ServingNova $event) use($hasResources , $hasCards , $hasDashboards , $hasTools , $hasJs , $hasCss , $assetDir) {
34+
Nova::serving(function (ServingNova $event) use($hasResources , $hasCards , $hasDashboards , $hasTools , $hasJs , $hasCss , $assetDir , $moduleDir , $moduleUcFirst) {
3535
if($hasResources) :
3636
Nova::resources(getNovaResources("{$moduleDir}/{$this->moduleName}/src/Resources" , "App/{$moduleUcFirst}"));
3737
endif;

0 commit comments

Comments
 (0)