Welcome Guest, Not a member yet? Register   Sign In
Loading some data from database for all views in an application
#1

[eluser]Nameless One[/eluser]
I'm building a website which will have a navigation bar with some items "hardcoded" in the view and some links to static pages that will be defined in the database. Since the navigation bar will be displayed on every page, I need those few database rows in every view so that I could insert them as items in the navigation ul element.

Is there any way to do this without fetching those rows in every controller action?


Messages In This Thread
Loading some data from database for all views in an application - by El Forum - 10-04-2009, 09:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB