Sha256: 23c6c58703dd0763a18c69aeb3b60bff10ea6e89c6b4266bf3fffa4cbb3529a9

Contents?: true

Size: 342 Bytes

Versions: 9

Compression:

Stored size: 342 Bytes

Contents

module FcrepoAdmin::Helpers
  module BlacklightHelperBehavior

    def link_to_document(doc, opts={:label=>nil, :counter => nil, :results_view => true})
      opts[:label] ||= blacklight_config.index.show_link.to_sym
      label = render_document_index_label doc, opts
      link_to label, fcrepo_admin.object_path(doc.id)
    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fcrepo_admin-0.5.4 lib/fcrepo_admin/helpers/blacklight_helper_behavior.rb
fcrepo_admin-0.5.3 lib/fcrepo_admin/helpers/blacklight_helper_behavior.rb
fcrepo_admin-0.5.2 lib/fcrepo_admin/helpers/blacklight_helper_behavior.rb
fcrepo_admin-0.5.1 lib/fcrepo_admin/helpers/blacklight_helper_behavior.rb
fcrepo_admin-0.5.0 lib/fcrepo_admin/helpers/blacklight_helper_behavior.rb
fcrepo_admin-0.4.1 lib/fcrepo_admin/helpers/blacklight_helper_behavior.rb
fcrepo_admin-0.4.0 lib/fcrepo_admin/helpers/blacklight_helper_behavior.rb
fcrepo_admin-0.3.5 lib/fcrepo_admin/helpers/blacklight_helper_behavior.rb
fcrepo_admin-0.3.4 lib/fcrepo_admin/helpers/blacklight_helper_behavior.rb