Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
kg-bot committed Jun 12, 2018
1 parent 3348f00 commit abf1a6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/config/laravel-localization.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* Route prefix, example of route http://localhost/js/localizations.js
*/
'prefix' => env( 'LARAVEL_LOCALIZATION_PREFIX', '/js/localization.js' ),

/**
* Route name, defaults to assets.lang
*/
'name' => env('LARAVEL_LOCALIZATION_ROUTE_NAME', 'assets.lang'),
'name' => env( 'LARAVEL_LOCALIZATION_ROUTE_NAME', 'assets.lang' ),

/**
* Middleware used on localization routes.
Expand Down
3 changes: 2 additions & 1 deletion src/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
$strings = ExportLocalizations::export()->toArray();

return response()->json( $strings );
} )->name( config( 'laravel-localization.routes.name' ) )->middleware( config( 'laravel-localization.routes.middleware' ) );
} )->name( config( 'laravel-localization.routes.name' ) )
->middleware( config( 'laravel-localization.routes.middleware' ) );

0 comments on commit abf1a6b

Please sign in to comment.