lib/artwork/view.rb in artwork-0.2.1 vs lib/artwork/view.rb in artwork-0.3.0

- old
+ new

@@ -1,10 +1,8 @@ module Artwork module View def activate_resolution_independence - content_tag :script do - Thread.current[:artwork_script] ||= compile_artwork_script - end + Thread.current[:artwork_script] ||= content_tag :script, compile_artwork_script end def artwork_tag(record, attachment_name, size, options = {}) image_tag_options = options[:image] || {} img_holder_options = options[:img_holder] || {}