I have a model and controller Search. The business logic is that if the user's keyword exactly matches the product model number, redirect them to the product page.
In this situation, should I just redirect from within the model (where most of the logic already exists)?
Or do I need to return a flag or something to the controller in order to handle the redirection?
Jacob source
share