Getting an error - Class 'Ientry' not found on Laravel 5.6. while running page localhost/work/i-upload-panel
My route.php code is below
Route::get('/i-upload-panel', function () {
(new Ientry())->importToDb();
dd('done');
return view('admin.i-upload-panel');
}
);
Model Ientry.php
<?php
namespace App\Http\Model;
use Illuminate\Database\Eloquent\Model;
class Ientry extends Model
{
public function importToDb()
{
//Function here
}
}
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/39zl0FT
via IFTTT
Aucun commentaire:
Enregistrer un commentaire