Class 'App\Http\Controllers\Slider' not found in HomeController.php (line 24)

Posted 1 year ago by asad98iftikhar

use App\Slider; use Carbon\Carbon; use Illuminate\Http\Request; use App\Http\Controllers\Controller;

//This is mine SiderController

This is mine ERror

Route::get('/', '[email protected]')->name('welcome');

Auth::routes();

Route::group(['prefix'=>'admin','middleware'=>'auth','namespace'=>'admin'],function(){ Route::get('dashboard','[email protected]')->name('admin.dashboard'); Route::resource('slider','SliderController');

//This is my Web.php

Please sign in or create an account to participate in this conversation.