Didn''t test if it works, but did you try
render :template => "your_template" ?
On Feb 22, 7:13 pm, dimi3
<dimitar.va...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---