My problem is about stylesheets and javascript that aren't loading when I'm using a second / in my URL.
When I use <link rel="stylesheet" href="stylesheets/theme.css" />
it works for my base route but stops working when I go deeper, such as /home/webpage
.
These are the errors I am getting in my Chrome console:
Refer to this stack overflow question
Essentially you need an assets manager. You can then load this assets manager in your main layout (if you have one) and have your other views extend your main layout.