orbit-basic/lib/layout_support.rb

7 lines
93 B
Ruby

module LayoutSupport
def layout
Layout.find_by_name(self.layout_name)
end
end