hello,
I’m trying to make my link_to_remote to render a partial in a
my view code follows:
<%= link_to_remote “Show”, :url => {:controller
=> “cards”, :action => “show_preview”}, :update =>
“preview”,
:method => ‘get’ %>
I also have
and in case of my controller :
def show_preview
render :partial => 'card_preview', :update => 'preview'
end
but the problem is, the link does nothing: it anchors me to # page, but
nothing changed. what’s the problem?