Fix up subuser controller to use better binding checks
This commit is contained in:
parent
74426a97f4
commit
bc1db626e7
4 changed files with 10 additions and 31 deletions
|
@ -106,9 +106,9 @@ Route::group([
|
|||
Route::group(['prefix' => '/users'], function () {
|
||||
Route::get('/', 'Servers\SubuserController@index');
|
||||
Route::post('/', 'Servers\SubuserController@store');
|
||||
Route::get('/{user}', 'Servers\SubuserController@view');
|
||||
Route::post('/{user}', 'Servers\SubuserController@update');
|
||||
Route::delete('/{user}', 'Servers\SubuserController@delete');
|
||||
Route::get('/{subuser}', [Client\Servers\SubuserController::class, 'view']);
|
||||
Route::post('/{subuser}', [Client\Servers\SubuserController::class, 'update']);
|
||||
Route::delete('/{subuser}', [Client\Servers\SubuserController::class, 'delete']);
|
||||
});
|
||||
|
||||
Route::group(['prefix' => '/backups'], function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue