Sha256: 4c9558210c0055a238526dee146aa9a44320728a320f291b61b71969ceef4f0d

Contents?: true

Size: 262 Bytes

Versions: 7

Compression:

Stored size: 262 Bytes

Contents

module BlacklightUserGeneratedContent::Helper
  def render_document_partial doc, action_name
    str = super(doc, action_name)
    str += render :partial => "catalog_ugc/_#{action_name}_partials/ugc", :locals => { :document => doc }

    str.html_safe
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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