I am building a web page and i have a problem about the page. In the 'routes', I created a custom link:
Route::get('/customization/footer', 'Controller@footer');
So, the page will be loaded using https://myweb.com/customization/footer
. But, using that link, the page didn't load the style (css and js). And then, when I changed the link on 'routes' becoming:
Route::get('/footer', 'Controller@footer');
the page loaded perfectly (no problem found).
The reason I used a longer link is to make it tidier. Does anyone know about how to solve this problem? I need help ????
P.S.: The problem is not in how the style files (like css and js files) are called. The problem is in the link I used as I stated in my question
My Answer:
you please provide more context or clarify your question?
Rate this post
4 of 5 based on 6516 votesComments