Greg:
I don''t know what a "module'' is. But you can define one
layout for
all controllers in an app by naming it ''application.rhtml and
placing it at the root level of the layouts folder. You must then
not have individual layouts defined by controller or the application.
rhtml file will be overridden. Hope that helps.
bruce
On 28-Dec-05, at 10:58 PM, Greg Moreno wrote:
> Hi,
>
> I have several controllers under 1 module. What I want to achieve
> is to
> use a layout that all controllers will use. AFAIK in Rails, I can
> only
> define a layout for a controller, and not for a module. Is it possible
> to define a layout for a module?
>
> Thanks.
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails