Fix route def

This commit is contained in:
Dane Everitt 2021-01-17 17:57:34 -08:00
parent 87371901c0
commit ddc4c8e54b
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -103,7 +103,7 @@ Route::group(['prefix' => '/servers/{server}', 'middleware' => [AuthenticateServ
Route::get('/', 'Servers\BackupController@index'); Route::get('/', 'Servers\BackupController@index');
Route::post('/', 'Servers\BackupController@store'); Route::post('/', 'Servers\BackupController@store');
Route::get('/{backup}', 'Servers\BackupController@view'); Route::get('/{backup}', 'Servers\BackupController@view');
Route::get('/{backup}/download', 'Servers\DownloadBackupController'); Route::get('/{backup}/download', 'Servers\BackupController@download');
Route::delete('/{backup}', 'Servers\BackupController@delete'); Route::delete('/{backup}', 'Servers\BackupController@delete');
}); });