Skip to content

Commit 2f43106

Browse files
author
Marc Cámara
committed
Merge pull request #183 from SwissWeb/patch-1
Update README.md
2 parents 5cd4e06 + af4b31d commit 2f43106

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Laravel Localization uses the URL given for the request. In order to achieve thi
7373
```php
7474
// app/Http/routes.php
7575

76-
Route::group(['prefix' => LaravelLocalization::setLocale()), function()
76+
Route::group(['prefix' => LaravelLocalization::setLocale()], function()
7777
{
7878
/** ADD ALL LOCALIZED ROUTES INSIDE THIS GROUP **/
7979
Route::get('/', function()
@@ -84,7 +84,7 @@ Laravel Localization uses the URL given for the request. In order to achieve thi
8484
Route::get('test',function(){
8585
return View::make('test');
8686
});
87-
}];
87+
});
8888

8989
/** OTHER PAGES THAT SHOULD NOT BE LOCALIZED **/
9090

@@ -465,7 +465,7 @@ Be sure to pass the locale and the attributes as parameters to the closure. You
465465

466466
### Config Files
467467

468-
In order to edit the default configuration for this package you may execute `php artisan vendor:publish` . After that, config/laravellocalization.php will be created. Inside this file you will find all the fields that can be edited in this package.
468+
In order to edit the default configuration for this package you may execute `php artisan config:publish mcamara/laravel-localization` . After that, config/laravellocalization.php will be created. Inside this file you will find all the fields that can be edited in this package.
469469

470470
### Service Providers
471471

0 commit comments

Comments
 (0)