module ActionView::Layouts::ClassMethods

def inherited(klass) # :nodoc:

:nodoc:
def inherited(klass) # :nodoc:
  super
  klass._write_layout_method
end