jeudi 2 juin 2016

Laravel 5 access to controller

1.i have set server.php to index.php in laravel 5 which has resolved my issue and i dont see public folder while direct hit to main site e.g `localhost/abc

2.but i want to go to specific class function, i cant access it without defining /public in URL and it is also messing with my css e.g localhost/abc/public/users.

  1. i have set route as Route::get('users','usersController@index');

how can i call localhost/abc/users ????



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire