Skip to content

Commit b735990

Browse files
committed
fix: path issues
1 parent ff8510d commit b735990

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ You can customize the language directory by modifying `config/inertia-lang.php`:
252252

253253
```php
254254
return [
255-
'lang_path' => lang_path(), // Default: /resources/lang
255+
'lang_path' => resource_path('lang'), // Default: /resources/lang
256256
];
257257
```
258258

config/inertia-lang.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
|
1616
*/
1717

18-
'lang_path' => lang_path(),
18+
'lang_path' => resource_path('lang'),
1919

2020
];

0 commit comments

Comments
 (0)