app/models/knowledge_base/sectionables/links.rb in knowledge_base-0.1.0 vs app/models/knowledge_base/sectionables/links.rb in knowledge_base-0.2.0
- old
+ new
@@ -1,9 +1,7 @@
module KnowledgeBase::Sectionables
- class Links < Sectionable
- has_many :links
-
- def to_s
- "#{super}: #{links.map(&:title).join(', ')}"
+ module Links
+ def self.table_name_prefix
+ 'knowledge_base_sectionables_links_'
end
end
end