Skip to content

Commit

Permalink
Fix translations path
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony BOTALLA committed Apr 26, 2022
1 parent 4f27272 commit fa51b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaravelNovaMenuServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function boot()
$this->publishes([$packageDir.'/resources/views' => resource_path('views/vendor/laravel-nova-menu')], 'views');

$this->loadTranslationsFrom($packageDir.'/resources/lang', 'laravel-nova-menu');
$this->publishes([__DIR__.'/../resources/lang' => lang_path('vendor/vendor/laravel-nova-menu')], 'lang');
$this->publishes([__DIR__.'/../resources/lang' => lang_path('vendor/laravel-nova-menu')], 'lang');

Blade::directive('menu', function ($expression) {
return "<?php echo Novius\LaravelNovaMenu\Helpers\MenuHelper::displayMenu($expression) ?>";
Expand Down

0 comments on commit fa51b85

Please sign in to comment.