Adding Modules (Controllers, Repositories) in Subfolders
Hi,
I’m trying to add my custom modules (e.g., controllers, repositories) inside subfolders. However, I’m encountering an issue where Twill doesn't seem to recognize my controller in the subfolder. I get the error:
Target class [App\Http\Controllers\Twill\NewController] does not exist.
How can I make Twill recognize my controller in the subfolder [App\Http\Controllers\Twill\News\NewController] ?
Where should I configure the mapping for this?
Thanks in advance!
2 Replies