problem with custom controller constructor |
Hi,
in the constructor i loaded models, settings and checked if access for the user is possible. All things i need throughout the controller. This is a good place until i need access to the request object. Why is this bad practice? What is the better way except overwriting the initController function or loading the request service ? |
Welcome Guest, Not a member yet? Register Sign In |