@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -Route::group(['middleware' => 'web', 'as' => 'laralang::', 'prefix' => config('laralang.default.prefix'), 'namespace' => 'Aitor24\Laralang\Controllers'], function () { |
|
3 | +Route::group([ 'middleware' => 'web', 'as' => 'laralang::', 'prefix' => config('laralang.default.prefix'), 'namespace' => 'Aitor24\Laralang\Controllers' ], function() { |
|
4 | 4 | Route::get('/translations', 'LaralangController@retView')->name('translations'); |
5 | 5 | Route::get('/test', 'LaralangController@testfunction'); |
6 | 6 | Route::post('/test', 'LaralangController@testfunction'); |
@@ -8,6 +8,6 @@ discard block |
||
8 | 8 | Route::get('/edit/{id}/{translation}', 'LaralangController@editTrans'); |
9 | 9 | }); |
10 | 10 | |
11 | -Route::group(['middleware' => ['bindings', 'throttle:1000,1'], 'as' => 'laralang::', 'prefix' => config('laralang.default.prefix'), 'namespace' => 'Aitor24\Laralang\Controllers'], function () { |
|
11 | +Route::group([ 'middleware' => [ 'bindings', 'throttle:1000,1' ], 'as' => 'laralang::', 'prefix' => config('laralang.default.prefix'), 'namespace' => 'Aitor24\Laralang\Controllers' ], function() { |
|
12 | 12 | Route::get('/api', 'LaralangController@api')->name('api'); |
13 | 13 | }); |