Forum: Ruby on Rails link_to_remote from Controller

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Steve R. (Guest)
on 2006-02-07 03:19
(Received via mailing list)

I¹m using Builder::XmlMarkup to create a menu tree and need to have some
gee-whizzy javascript to make the menus expand, fade, twirl and dance.
maybe not the last bit. Anyhow, because the html is generated mainly
code like:> ³menu_#{unique_id}², :class => �menu¹){
  xm << link_to_function(�menu name¹, �function_name¹)

Unfortunately, link_to_function is in a helper and not accessible to my
controller code. Anyone know how better to accomplish this?


This topic is locked and can not be replied to.