app/helpers/tandem/contents_helper.rb in tandem-0.2.0 vs app/helpers/tandem/contents_helper.rb in tandem-0.2.1
- old
+ new
@@ -4,10 +4,9 @@
def image_content_url(image_content, format = :original)
image_content.image.present? ? image_content.image.resource.url(format) : 'tandem/blank_image.jpg'
end
def image_content_tag(image_content, options = {}, format = :original)
- options = {style: ""}.merge(options) if format == :thumb
image_tag image_content_url(image_content, format), options
end
def text_content_text_area_options(editor = 'plain', options = {})
options.tap do |options|