Hi Sushruth,
What I think your looking for is to redirect to another controller.
redirect_to :controller => ''controller_name'', :action
=>''action''
Hope this helps....
Cheers
On 11/13/05, Sushruth blah
<yehweh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> Hi
>
> I''m a noob, so, please bare with me. I tried to find it online but
could
> not. Can i call a controller from inside a controller?
>
> class UsersController < ApplicationController
> def index
> do soem thing
> redirect_to :action => new_controller
> end
>
> Thanks
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails