merged/app/models/merged/page_style.rb

11 lines
188 B
Ruby

module Merged
class PageStyle < Style
fields :type , :description , :section_template
def section_preview
"merged/section_preview/" + section_template
end
end
end