[rjs] How can I render a action template instead of partial


#1

Hi,

I want to render a action template with rjs, so instead of doing this:
page.replace_html ‘maincontent’, :partial => ‘list’ I want to do this:
page.replace_html ‘maincontent’, :action => ‘list’ but the render (that
is called by replace_html, outputs to the reponds_body), so it doesn’t
work.

Is there a way of doing this, I could find one browsing the source? or
should I file a bug/create a patch

thnx,

Abdur-Rahman