增加 修改主机的路由

This commit is contained in:
iVampireSP.com 2023-02-13 17:06:04 +08:00
parent 99d3aff205
commit dc157ea7fb
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -59,7 +59,7 @@ function () {
/* End 账户区域 */
/* Start 主机 */
Route::resource('hosts', HostController::class)->only(['index', 'destroy']);
Route::resource('hosts', HostController::class)->only(['index', 'update', 'destroy']);
Route::post('hosts/{host}/renew', [HostController::class, 'renew'])->name('hosts.renew');
/* End 主机 */