Welcome Guest, Not a member yet? Register   Sign In
Loading/accessing a model from within routes config
#1

[eluser]Daniel H[/eluser]
I want to dynamically create routes for a series of sections in a db table, which will simply route through to a page controller identified by their respective numeric id.

However I can't imagine there's an easy way to load and use a model in the routes config file, or at least I haven't been able to, such that I can dynamically generate these routes.

Has anyone tried something similar?

Thanks.


Messages In This Thread
Loading/accessing a model from within routes config - by El Forum - 05-19-2008, 10:52 AM
Loading/accessing a model from within routes config - by El Forum - 05-26-2008, 04:59 AM
Loading/accessing a model from within routes config - by El Forum - 05-26-2008, 05:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB