Support the ongoing development of Laravel.io →
posted 10 years ago
Requests
Last updated 2 years ago.
0
Solution

I have found the solution, if anyone is interested. I forgot to prefix my controller by its namespace..

$router->get('/', ['as' => 'home','uses' => 'App\Http\Controllers\ArticlesController@index']);
Last updated 2 years ago.
0

thanks sa7bi helped me solve my issue although in L4.2 you didn't need to specify the folder which is odd

0

Sign in to participate in this thread!

Eventy

Your banner here too?

sa7bi sa7bi Joined 16 Oct 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.