Section using information from another sectionCreated 2 years ago by emperorkoala
So I've just started work on this module, and the routing is correct, they all point to their respective controllers. For some reason though, one of the sections seems to be using information (i.e. the section title and the highlighted section name) of a different section. I'm fairly new to Pyro and Laravel and all of it, so I am still learning, but this just doesn't seem to be making any sense.
Here is my routing code: https://pastebin.com/D3mDsyGg
The problem is that when I go to the characters section, it loads the title and button from the spells section, but the filters from the characters controller, and it highlights spells in the navbar on the side as though that's the section I'm in. Even stranger, when I specifically add "/spells" to the end of the URL, it loads the spells section exactly correctly, and when I added an entry there, it didn't appear in the weird section.
If you need images to more clearly visualize the problem I can provide those. Any help would be great.