查看刀片檔案
<form method="post" action="{{ route('appointments.change.status') }}" >
</form>
在途中
Route::post('/appointments/status', 'AppointmentController@changeStatus')->name('appointments.change.status');
錯誤:
production.ERROR: Route [appointments.change.status] not defined.
uj5u.com熱心網友回復:
嘗試通過以下方式重新加載所有路線
php artisan route:cache
然后檢查路由是否存在
php artisan route:list
確定定義的路由是否在前綴組中。
uj5u.com熱心網友回復:
運行這個命令
php artisan route:clear
php artisan view:clear
php artisan cache:clear
uj5u.com熱心網友回復:
在 web.php 頂部添加控制器路徑
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/403666.html
標籤:
