app/models/knowledge_base/sectionables/image.rb in knowledge_base-0.1.0 vs app/models/knowledge_base/sectionables/image.rb in knowledge_base-0.2.0
- old
+ new
@@ -1,9 +1,5 @@
-module KnowledgeBase::Sectionables
- class Image < Sectionable
- mount_uploader :image, ImageUploader
-
- def to_s
- "#{super}: #{caption}"
- end
+module KnowledgeBase
+ class Sectionables::Image < Sectionables::Sectionable
+ include Concerns::Models::Sectionables::Image
end
end