[Radiant] ActionView helpers in a behavior - I think I got it!
John W. Long
ng at johnwlong.com
Tue Jul 18 22:16:15 CDT 2006
Jay Levitt wrote:
> John W. Long wrote:
>> I'm open to the idea but am unsure that this is the best approach.
>
> What might be better, then? An awful lot of seemingly-unrelated helpers
> in Rails need a controller, and if a dummy one causes problems, I can't
> see any other option than the real controller.
But that's just it. I'm not sure that behaviors should have full access
to the controller. It seems like it might be better for them not to rely
on that knowledge.
Sorry to be ambivalent. I will need to think about this.
--
John Long
http://wiseheartdesign.com
More information about the Radiant
mailing list