Module: BlacklightUserGeneratedContent::Taggable
- Defined in:
- lib/blacklight_user_generated_content/taggable.rb
Class Method Summary collapse
-
.included(base) ⇒ Object
‘base` is likely /NOT/ a type of ActiveRecord::Base, the acts_as_taggable_on plugin is not automatically included.
Class Method Details
.included(base) ⇒ Object
‘base` is likely /NOT/ a type of ActiveRecord::Base, the acts_as_taggable_on plugin is not automatically included
4 5 6 7 |
# File 'lib/blacklight_user_generated_content/taggable.rb', line 4 def self.included base base.send :extend, ActsAsTaggableOn::Taggable base.send :acts_as_taggable_on, :tags end |