4
在routes.php文件:Laravel路線::控制器如何處理駱駝/蛇的情況?
Route::controller('account', 'AccountController');
在阿賈克斯 - >控制器:
POST /account/password_reset -> postPasswordReset //not working
POST /account/passwordReset -> postPasswordReset //not working
POST /account/password_reset -> postPassword_reset //not working
POST /account/passwordreset -> postPasswordreset //working
我的印象(並希望)第一個選項,但它不是以這種方式表現對我來說。這裏應該發生什麼?
你有沒有嘗試使用'''php artisan route'''檢查你的路線? – crynobone
不知道如何使用這個,但它聽起來很棒。我得到'命令「路線」未定義。「在我的服務器上 – Damon
你看https://tutsplus.com/lesson/displaying-registered-routes/ – crynobone