Sha256: 8b96dfed93ca607d141ea44f821c059bebd99438c2ef7b3028b07265ffe0d6e9

Contents?: true

Size: 309 Bytes

Versions: 1

Compression:

Stored size: 309 Bytes

Contents

module BlacklightUnapiHelper
  def inject_auto_discovery_link_tag
    content_for(:head) do
      auto_discovery_link_tag(:unapi, unapi_url, type: 'application/xml',  rel: 'unapi-server', title: 'unAPI' )
    end unless @injected_auto_discovery_link_tag
    @injected_auto_discovery_link_tag = true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blacklight_unapi-0.1.0 app/helpers/blacklight_unapi_helper.rb