Welcome Guest, Not a member yet? Register   Sign In
Passing controller object into view (Is this bad?)
#2

[eluser]Bramme[/eluser]
Why not generate your anchor in your controller and pas that html to your view?

I'm not sure it's really "bad practice", I've just found that there's most of the times some way of working around it.


Messages In This Thread
Passing controller object into view (Is this bad?) - by El Forum - 10-17-2008, 10:57 PM
Passing controller object into view (Is this bad?) - by El Forum - 10-18-2008, 01:27 AM
Passing controller object into view (Is this bad?) - by El Forum - 10-18-2008, 06:22 AM
Passing controller object into view (Is this bad?) - by El Forum - 10-18-2008, 09:38 AM
Passing controller object into view (Is this bad?) - by El Forum - 10-18-2008, 09:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB