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

I also keep my controllers in folders like admin, frontend etc... and I don't use folder name at all. It resolves by itself. Please try like it's not inside a sub folder.

// app/controllers/tracker/TrackerController.php
// Do not forget "composer dump-autoload" after controller creation
Route::get('tracker','TrackerController@index');
Last updated 2 years ago.
0

I wonder if you need to delete the compile.php so that it gets recreated to find your new files.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

wkolcz wkolcz Joined 17 Mar 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.