@@ -4,7 +4,7 @@ discard block |
||
| 4 | 4 | 'prefix' => 'database', |
| 5 | 5 | 'middleware' => 'auth:api', |
| 6 | 6 | 'namespace' => config('dbm.controller_namespace'), |
| 7 | -], function () { |
|
| 7 | +], function() { |
|
| 8 | 8 | |
| 9 | 9 | // Helpers Route |
| 10 | 10 | Route::get('assets', 'ManagerController@assets')->name('dbm.asset'); |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | Route::put('/relationship', 'RelationController@update'); |
| 45 | 45 | Route::delete('/relationship', 'RelationController@delete'); |
| 46 | 46 | // Table |
| 47 | - Route::group(['prefix' => 'table'], function () { |
|
| 47 | + Route::group(['prefix' => 'table'], function() { |
|
| 48 | 48 | Route::get('/details/{table}', 'RecordController@getTableDetails'); |
| 49 | 49 | Route::get('/columns/{table}', 'TableController@getTableColumns'); |
| 50 | 50 | }); |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | Route::group([ |
| 58 | 58 | 'prefix' => 'database', |
| 59 | 59 | 'namespace' => config('dbm.controller_namespace'), |
| 60 | -], function () { |
|
| 60 | +], function() { |
|
| 61 | 61 | // User |
| 62 | 62 | Route::post('/login', 'UserController@login'); |
| 63 | 63 | }); |