[Radiant] ActionView helpers in a behavior - I think I got it!
Jay Levitt
lists-radiant at shopwatch.org
Tue Jul 18 22:01:33 CDT 2006
John W. Long wrote:
> Jay Levitt wrote:
>> That'd be really nice, actually. I think that's what I was
>> (unknowingly) asking for last month, when I got the advice to create a
>> dummy controller. John, do you think it might be possible to get at the
>> current ActionController from a behavior?
>
> 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.
Jay
More information about the Radiant
mailing list