Reputation: 1
I trying to create this application and I got Class 'App\Http\Controllers\KodeInfo\jorgchart' not found error in Homecontroller.php ... What I was wrong on here? and at end of article i didn't catch the instruction : "At last autoload the KodeInfo directory so our new class will work" - I mean how to autoload the directory !
PS:: I already added namespace App\Http\Controllers; to the top of Homecontroller and yeah already composer dump autoload also
Any idea?
Upvotes: 0
Views: 126
Reputation: 4826
in your HomeController head use this
use App\KodeInfo\jorgchart;
or
$jorg = new App\KodeInfo\JOrgChart();
Upvotes: 0