is bad practice data db in twig function or should pass view in controller?
my function kind of interface widget used on pages of site admin section. on data change have make changes in actions. when data directly in extension class our teamlead tells it's bad mvc.
it best if pass view controller.
Comments
Post a Comment