lundi 31 août 2015

Laravel routes issue with Lowercase

I am trying to setup this route

http://ift.tt/1N3VgUv

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://ift.tt/1KWJpBr

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?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1N3VhYs
via IFTTT

Aucun commentaire:

Enregistrer un commentaire