Tarscher a écrit :> I want to
> respond_to do |format|
> format.js { create_or_update.rjs }
> end
>
> I thus want to point to a certain file.
With the usual explicit render call:
render :action => :create_or_update
Now, this is the Spinoffs group (Prototype & script.aculo.us); next time
you have a pure-Rails question, use rubyonrails-talk instead :-)
--
Christophe Porteneuve aka TDD
tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---