Replace_html with action template

Hello All,

I am trying to replace_html with an action template, not a partial.
Currently I don’t know how do it, I’ve renamed all my action to have _
in their names and I don’t like this approach.

I’ve tried render :update do |page|; page.replace_html
‘content’, :action => ‘edit’; end and it won’t work.

Regards,
dimi3

Didn’t test if it works, but did you try

render :template => “your_template” ?