routes - Laravel 5.3 web.php not working -


i'm web developer. in routes/web.php

route::group(['middleware' => ['web']], function () {    route::get('/', 'homecontroller@index');    route::get('news/index', 'newscontroller@getindex'); }); 

if running http://localhost/project/public/news/index has no action. me!

can clarify? controllers exist? code works good:

route::group(['middleware' => ['web']], function () {     route::get('/', function () {         echo 'one';     });     route::get('news/index', function () {         echo 'two';     }); }); 

so problem controllers, or maybe apache configuration.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -