So I’m trying to use a redirect() within beforeAction() and all that is resulting is a redirect loop.
I understand the problem. An action occurs, beforeAction() takes over, invokes redirect(), which invokes an action, which invokes beforeAction(), and so on and so forth…
I have not been able to figure out a way around this yet. Some help would be appreciated.