lundi 1 février 2016

Laravel: Route issue

I have the following route which loads the page but the css of the page doesn't loads.

Route::get('admins', function () {
        return view('admins/index');
});

In the contrast the following route loads the same page but here I added index and the page loads correctly. but I also adds index with admins in the browser address bar.

Route::get('admins/index', function () {
        return view('admins/index');
});

I am calling css files in the views like:

<link href="../assets/css/animate.min.css" rel="stylesheet" />

I searched for the solutions but didn't got anything.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire