Sha256: cf5851f904837bf7a13bf3f3bd86195483e141ac90d4af652e2550ba1c76f0c0

Contents?: true

Size: 476 Bytes

Versions: 4

Compression:

Stored size: 476 Bytes

Contents

module BlacklightCql

  # Provides an #explain action method which can be mixed into
  # a Blacklight CatalogController type controller, to provide an
  # explain response. 
  module ExplainBehavior
    def cql_explain
       @luke_response = HashWithIndifferentAccess.new(blacklight_solr.get('admin/luke'))
       @config = blacklight_config
       
       render "blacklight_cql/explain.xml.builder", :content_type => "application/xml", :layout => false
    end
  end  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight_cql-3.0.1 lib/blacklight_cql/explain_behavior.rb
blacklight_cql-3.0.0 lib/blacklight_cql/explain_behavior.rb
blacklight_cql-2.0.1 lib/blacklight_cql/explain_behavior.rb
blacklight_cql-2.0.0 lib/blacklight_cql/explain_behavior.rb