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

render :template => "your_template" ?

On Feb 22, 7:13 pm, dimi3 <dimitar.va...@gmail.com> wrote:
> 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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to