Hi, When Inside a controller, instead of rendering, is there any way to generate a dispatch to another action in another controller that is interpreted by the receiver controller as a javascript request?
andres wrote:> When Inside a controller, instead of rendering, > is there any way to generate a dispatch to another action in another > controller that is interpreted by the receiver controllerYa: redirect_to :controller => ''nother'', :action => ''yo'' > as a javascript request? Why? The above happens almost entirely on the server side. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Will redirect_to get the job done? andres wrote:> Hi, > > When Inside a controller, instead of rendering, > is there any way to generate a dispatch to another action in another > controller that is interpreted by the receiver controller as a > javascript request?--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---