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?
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 controller
Ya:
redirect_to :controller => 'nother', :action => 'yo'
> as a javascript request?
Why? The above happens almost entirely on the server side.
Will redirect_to get the job done?
andres wrote: