inlined sectionoverview templates
This commit is contained in:
@ -12,5 +12,13 @@ module Merged
|
||||
Image.image_root
|
||||
end
|
||||
|
||||
#image tag for the preview, passing options through
|
||||
def section_preview(section , options)
|
||||
image_tag("merged/section_preview/#{section.template}" , options)
|
||||
end
|
||||
|
||||
def card_preview(section , options)
|
||||
image_tag("merged/card_preview/#{section.card_template}" , options)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user