Linkt_to with remote option

Hello,

I want to make following link_to working with remote set to true:
<%= link_to display_gallery,{:controller =>‘varlak’,
:action =>‘get_gallery’,:obj =>display_gallery},
{:style=>‘background-image:url(/images/bt_left_hd.png);color:#ffffff;
text-align:center;’,
:class=>‘menuitem submenuheader gallerymenu gallerymenuplus’
}%>

I have tried to put :remote=> true, at several positions, with and
without brackets.

Thanks for help!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs