Sha256: f074384d0b69c9f641309503edb1886d1ba61333b1c524ac0798330bc052d3e2

Contents?: true

Size: 385 Bytes

Versions: 4

Compression:

Stored size: 385 Bytes

Contents

module BlacklightCql
  
  # Module to be included into Blacklight::Routes to make sure
  # our explain route gets added before other catalog routes, so it
  # can take effect. 
  module RouteSets
    
    protected
    def catalog
      
      add_routes do |options|
        match 'catalog/explain', :to => "blacklight_cql/explain#index"
      end

      super
    end
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight_cql-1.2.1 lib/blacklight_cql/route_sets.rb
blacklight_cql-1.2.0 lib/blacklight_cql/route_sets.rb
blacklight_cql-1.1.0 lib/blacklight_cql/route_sets.rb
blacklight_cql-1.0.1 lib/blacklight_cql/route_sets.rb