[eluser]rossmurphy[/eluser]
I have a controller that gets data from models then displays in view. I am trying to replicate a debug function that displays debug information if a user has toggle the function on. This true or false value is sent in the uri as toggleDebug=true.
How would, and where would i create the debug page so that it can be simple included in the controller (or not) depending on whether the user has set this to true or false?