I would like to know where is the recommended place for common queries
and their results' injection into layouts, e.g.: fetching tags from
the database and inserting them into the footer in all actions within
the module. Should I use a plugin or an action helper? Or should I
just query the model right inside the layout?
Thanks,
Ádám
没有评论:
发表评论