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
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to