Right now you probably have to hardcode the paths ( At least thats what i do )
I wonder how much work it would be to make the render calls module aware...
On Sat, 29 Jan 2005 03:02:09 +0000, Duane Johnson
<duane.johnson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I''ve just begun using "modules" in my rails
application so that I
> can separate the admin section from the users section... but doing so
> broke some of (all of?) my calls to partials. I was using
> "render_partial ''select_customer''" before, but
now it can''t find the
> _select_customer.rhtml file. Is there a way to hint to render_partial
> that it should now look inside its own module in the
> /views/module_name/controller_name/ folder?
>
> I would prefer not to hardcode each of the render_partial calls to
> reference my module, but I''d do that if it''s necessary of
course.
>
> Thanks,
> Duane Johnson
> (canadaduane)
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Tobi
http://www.hieraki.org - Open source book authoring
http://blog.leetsoft.com - Technical weblog