Sha256: fce4b6f7a19db6a5a5405f637a1485adba573b6b1c27a1bbcda29f1fd5701e83

Contents?: true

Size: 289 Bytes

Versions: 8

Compression:

Stored size: 289 Bytes

Contents

module BlacklightUserGeneratedContent::Commentable

  # `base` is likely /NOT/ a type of ActiveRecord::Base, the acts_as_commentable plugin is not automatically included
  def self.included base
    base.send :include, Juixe::Acts::Commentable
    base.send :acts_as_commentable
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
blacklight_user_generated_content-0.0.8 lib/blacklight_user_generated_content/commentable.rb
blacklight_user_generated_content-0.0.7 lib/blacklight_user_generated_content/commentable.rb
blacklight_user_generated_content-0.0.6 lib/blacklight_user_generated_content/commentable.rb
blacklight_user_generated_content-0.0.5 lib/blacklight_user_generated_content/commentable.rb
blacklight_user_generated_content-0.0.4 lib/blacklight_user_generated_content/commentable.rb
blacklight_user_generated_content-0.0.3 lib/blacklight_user_generated_content/commentable.rb
blacklight_user_generated_content-0.0.2 lib/blacklight_user_generated_content/commentable.rb
blacklight_user_generated_content-0.0.1 lib/blacklight_user_generated_content/commentable.rb