Paul,
Just use
render :file => "foo/do_stuff"
That''s what I always use, although I''m curious why :controller
=> ''foo'', :action => ''do_stuff''
doesn''t work.
-Jeff
Paul wrote:
>If I have
>
>FooController < ApplicationController
> def do_stuff
> end
>end
>
>BarController < FooController
>end
>
>and then in a view have a link to :controller => ''bar'',
:action => ''do_stuff''
>I cannot get it to render FooController''s do_stuff.rhtml.
>
>It constantly looks for /views/bar/do_stuff.rhtml
>
>I tried adding a
>def do_stuff
> super
> render :controller => ''foo'', :action =>
''do_stuff''
>end
>
>And various other ways with no luck, is it even possible to do what I
>want without having to make symbolic links?
>
>-Paul
>_______________________________________________
>Rails mailing list
>Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
>http://lists.rubyonrails.org/mailman/listinfo/rails
>
>