> Have you considered this simple solution? > > def define_with_central_layout(name, &block) > define(name, :layout => CentralLayout.new(name), &block) > end
/me slaps forehead. err yep - that will work - thanks! -- Cheers, Peter Donald
> Have you considered this simple solution? > > def define_with_central_layout(name, &block) > define(name, :layout => CentralLayout.new(name), &block) > end
/me slaps forehead. err yep - that will work - thanks! -- Cheers, Peter Donald