1) by default all controllers will use views/layouts/application.rhtml
if views/layouts/:controller.rhtml does not exist.
2) i havent touched components, but if they use app/views as there
views then im sure you can overwrite the views files, or overwrite the
views files wherever the component stores them. it may be possible to
"remap" the render ''view'' but i doubt it.
On 8/9/05, Manuel Holtgrewe
<purestorm-nlpEiS6K5uusTnJN9+BGXg@public.gmane.org>
wrote:> Hi
>
> I have a few questions regarding components:
>
> 1.) Is it somehow possible to have a default layout that all
> controllers use without specifying it explicitely?
>
> 2.) Can I override component''s views of an existing component
without
> touching anything in /components/* ? That would be good to change
> ActionMailer views.
>
> Regards,
>
> Manuel Holtgrewe
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Zachery Hostens <zacheryph-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>