Say I have a list view, and every time an item is clicked it has to load a different template, but the templates are static and don’t have to do anything.
Currently I have to make a separate controller for each template, is there anyway to just pass a variable to one controller, and have that variable say which template to load for that situation?
Because i’m going to end up having hundreds of controllers, instead of a few controllers for hundreds of views.
Thanks for the help.