orbit-basic/lib/layout_support.rb

7 lines
93 B
Ruby
Raw Normal View History

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