Suppose for users
module when a user types http://localhost/project/public/index.php/users/
URL on browser,I want to send them to usersController@index
.For this I tried route Route::get('users/', 'usersController@index');
but this sends to home page of xampp.There is no problem in routing http://localhost/project/public/index.php/users/index
and http://localhost/project/public/index.php/users
but I want to route user for http://localhost/project/public/index.php/users/
as well.How can I achieve this?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1PxBT3y
via IFTTT
Aucun commentaire:
Enregistrer un commentaire