my laravel site is working fine on localhost but not working on live domain after i upload my site on hosting.
i cleared my cache from online, check my routes again but nothing change.
MY ROUTES: Route::group(['prefix' => 'admin', 'namespace' => 'Admin'], function () {
Route::get('/', 'HomeController@home')->name('admin.home');
// Route::resource('/', 'DashboardController'); Route::resource('school_account', 'SchoolAccountController'); Route::get('school_account/{school_account}/update_status', 'SchoolAccountController@update_status')->name('school_account.update_status'); Route::resource('package', 'PackageController'); Route::resource('license', 'LicenseController'); Route::resource('feature', 'FeatureController'); }); my Controller Class:
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class HomeController extends Controller
{
public function home()
{
return view('admin.home');
}
}
directory of blades:
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire