Skip to content

Commit e442080

Browse files
committed
fix: publish localized model file
1 parent 3564317 commit e442080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/BaseCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ private function saveLocaleFile()
246246
$locales['fields'][$field->name] = Str::title(str_replace('_', ' ', $field->name));
247247
}
248248

249-
$path = config('laravel_generator.path.models_locale_files', base_path('resources/lang/en/models/'));
249+
$path = lang_path('en/models');
250250

251251
$fileName = $this->config->modelNames->plural.'.php';
252252

0 commit comments

Comments
 (0)