From fa51b8581de255b3533de4ecfb101680bad64d9c Mon Sep 17 00:00:00 2001 From: Tony BOTALLA Date: Tue, 26 Apr 2022 14:19:51 +0200 Subject: [PATCH] Fix translations path --- src/LaravelNovaMenuServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LaravelNovaMenuServiceProvider.php b/src/LaravelNovaMenuServiceProvider.php index 3ab77ad..0ca2c5a 100644 --- a/src/LaravelNovaMenuServiceProvider.php +++ b/src/LaravelNovaMenuServiceProvider.php @@ -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 "";