You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the Email2FA and EmailActivation methods use the built-in view() method to display a view. This works great unless someone has provided an extended View layer. For example, in Bonfire we have a theme system that uses $this->render() in the controllers to integrate with the theme system. This would require duplicating the actions into the developers code when all they want to do is change the render method. That leads to maintenance headaches.
I propose we add a renderView() method to both of the Actions so that all a developer has to do is extend the Action class and override that one method, keeping all of the other logic intact.
The text was updated successfully, but these errors were encountered:
Currently, the
Email2FA
andEmailActivation
methods use the built-inview()
method to display a view. This works great unless someone has provided an extended View layer. For example, in Bonfire we have a theme system that uses$this->render()
in the controllers to integrate with the theme system. This would require duplicating the actions into the developers code when all they want to do is change the render method. That leads to maintenance headaches.I propose we add a
renderView()
method to both of the Actions so that all a developer has to do is extend the Action class and override that one method, keeping all of the other logic intact.The text was updated successfully, but these errors were encountered: