@@ -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 | }); |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | Route::group([ |
| 60 | 60 | 'prefix' => 'database', |
| 61 | 61 | 'namespace' => config('dbm.controller_namespace'), |
| 62 | -], function () { |
|
| 62 | +], function() { |
|
| 63 | 63 | // User |
| 64 | 64 | Route::post('/login', 'UserController@login'); |
| 65 | 65 | Route::post('/oauth/token', 'UserController@getPersonalAccessToken'); |