@@ -6,13 +6,13 @@ discard block |
||
| 6 | 6 | 'prefix' => config('seo-manager.route'), |
| 7 | 7 | 'as' => 'seo-manager.', |
| 8 | 8 | 'namespace' => 'Lionix\SeoManager\Controllers' |
| 9 | -], function () { |
|
| 9 | +], function() { |
|
| 10 | 10 | Route::get('/', 'ManagerController@index')->name('home'); |
| 11 | 11 | Route::get('get-routes', 'ManagerController@getRoutes')->name('get-routes'); |
| 12 | 12 | Route::get('import-routes', 'ImportController')->name('import'); |
| 13 | 13 | Route::get('get-models', 'ManagerController@getModels')->name('get-models'); |
| 14 | 14 | |
| 15 | - Route::group(['prefix' => 'locales', 'as' => 'locales.'], function () { |
|
| 15 | + Route::group(['prefix' => 'locales', 'as' => 'locales.'], function() { |
|
| 16 | 16 | Route::get('get-locales', 'LocalesController@getLocales')->name('get'); |
| 17 | 17 | }); |
| 18 | 18 | }); |
@@ -21,14 +21,14 @@ discard block |
||
| 21 | 21 | 'prefix' => config('seo-manager.route'), |
| 22 | 22 | 'as' => 'seo-manager.', |
| 23 | 23 | 'namespace' => 'Lionix\SeoManager\Controllers' |
| 24 | -], function () { |
|
| 24 | +], function() { |
|
| 25 | 25 | Route::post('delete-route', 'ManagerController@deleteRoute')->name('delete-route'); |
| 26 | 26 | Route::post('get-model-columns', 'ManagerController@getModelColumns')->name('get-model-columns'); |
| 27 | 27 | Route::post('store-data', 'ManagerController@storeData')->name('store-data'); |
| 28 | 28 | Route::post('get-example-title', 'ManagerController@getExampleTitle')->name('get-example-title'); |
| 29 | 29 | Route::post('sharing-preview', 'ManagerController@sharingPreview')->name('sharing-preview'); |
| 30 | 30 | |
| 31 | - Route::group(['prefix' => 'locales', 'as' => 'locales.'], function () { |
|
| 31 | + Route::group(['prefix' => 'locales', 'as' => 'locales.'], function() { |
|
| 32 | 32 | Route::post('add-locale', 'LocalesController@addLocale')->name('add'); |
| 33 | 33 | }); |
| 34 | 34 | }); |