I am trying to setup this route
http://test.localhost.com/doctor/updateschedule
My code in Routes file is
Route::resource('/doctor/updateschedule', 'Doctor\DoctorController@doctorSchedule');
But this does not work, It only works if I Use an Uppercase
http://test.localhost.com/Doctor/updateschedule
And in Routes,
Route::resource('/Doctor/updateschedule', 'Doctor\DoctorController@doctorSchedule');
There is nothing in the Controller's action, just an echo "Hello". it only works with an uppercase /Doctor/updateschedule
Can anyone tell me why this is happening and how can i make it work for lowercases?