@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | } |
6 | 6 | |
7 | 7 | if (config('twill.enabled.media-library')) { |
8 | - Route::group(['prefix' => 'media-library', 'as' => 'media-library.'], function () { |
|
8 | + Route::group(['prefix' => 'media-library', 'as' => 'media-library.'], function() { |
|
9 | 9 | Route::post('sign-s3-upload', ['as' => 'sign-s3-upload', 'uses' => 'MediaLibraryController@signS3Upload']); |
10 | 10 | Route::put('medias/single-update', ['as' => 'medias.single-update', 'uses' => 'MediaLibraryController@singleUpdate']); |
11 | 11 | Route::put('medias/bulk-update', ['as' => 'medias.bulk-update', 'uses' => 'MediaLibraryController@bulkUpdate']); |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | } |
17 | 17 | |
18 | 18 | if (config('twill.enabled.file-library')) { |
19 | - Route::group(['prefix' => 'file-library', 'as' => 'file-library.'], function () { |
|
19 | + Route::group(['prefix' => 'file-library', 'as' => 'file-library.'], function() { |
|
20 | 20 | Route::post('sign-s3-upload', ['as' => 'sign-s3-upload', 'uses' => 'FileLibraryController@signS3Upload']); |
21 | 21 | Route::put('files/single-update', ['as' => 'files.single-update', 'uses' => 'FileLibraryController@singleUpdate']); |
22 | 22 | Route::put('files/bulk-update', ['as' => 'files.bulk-update', 'uses' => 'FileLibraryController@bulkUpdate']); |
@@ -31,14 +31,14 @@ discard block |
||
31 | 31 | } |
32 | 32 | |
33 | 33 | if (config('twill.enabled.buckets')) { |
34 | - $bucketsRoutes = config('twill.bucketsRoutes') ?? collect(config('twill.buckets'))->mapWithKeys(function ($bucketSection, $bucketSectionKey) { |
|
34 | + $bucketsRoutes = config('twill.bucketsRoutes') ?? collect(config('twill.buckets'))->mapWithKeys(function($bucketSection, $bucketSectionKey) { |
|
35 | 35 | return [$bucketSectionKey => 'featured']; |
36 | 36 | })->toArray(); |
37 | 37 | |
38 | 38 | foreach ($bucketsRoutes as $bucketSectionKey => $routePrefix) { |
39 | - Route::group(['prefix' => str_replace('.', '/', $routePrefix), 'as' => $routePrefix.'.'], function () use ($bucketSectionKey) { |
|
39 | + Route::group(['prefix' => str_replace('.', '/', $routePrefix), 'as' => $routePrefix . '.'], function() use ($bucketSectionKey) { |
|
40 | 40 | Route::get($bucketSectionKey, ['as' => $bucketSectionKey, 'uses' => 'FeaturedController@index']); |
41 | - Route::group(['prefix' => $bucketSectionKey, 'as' => $bucketSectionKey.'.'], function () { |
|
41 | + Route::group(['prefix' => $bucketSectionKey, 'as' => $bucketSectionKey . '.'], function() { |
|
42 | 42 | Route::post('save', ['as' => 'save', 'uses' => 'FeaturedController@save']); |
43 | 43 | }); |
44 | 44 | }); |
@@ -20,7 +20,7 @@ |
||
20 | 20 | | This value is the URL of your admin application. |
21 | 21 | | |
22 | 22 | */ |
23 | - 'admin_app_url' => env('ADMIN_APP_URL', 'admin.'.env('APP_URL')), |
|
23 | + 'admin_app_url' => env('ADMIN_APP_URL', 'admin.' . env('APP_URL')), |
|
24 | 24 | 'admin_app_path' => env('ADMIN_APP_PATH', ''), |
25 | 25 | |
26 | 26 | /* |