app/models/image_block.rb in browsercms-3.1.4 vs app/models/image_block.rb in browsercms-3.1.5

- old
+ new

@@ -1,21 +1,9 @@ class ImageBlock < AbstractFileBlock acts_as_content_block :versioned => { :version_foreign_key => :file_block_id }, :belongs_to_attachment => true, :taggable => true - def set_attachment_file_path - if @attachment_file_path && @attachment_file_path != attachment.file_path - attachment.file_path = @attachment_file_path - end - end - - def set_attachment_section - if @attachment_section_id && @attachment_section_id != attachment.section_id - attachment.section_id = @attachment_section_id - end - end - def self.display_name "Image" end end