Sha256: 304105fef7fc7e0f8c67c92fcb8779eb7b4b0e85525fd56a871db8a80383cf8f

Contents?: true

Size: 311 Bytes

Versions: 18

Compression:

Stored size: 311 Bytes

Contents

module BlacklightRangeLimit
  module Routes
    class RangeSearchable
      def initialize(defaults = {})
        @defaults = defaults
      end

      def call(mapper, options = {})
        options = @defaults.merge(options)

        mapper.get 'range_limit', action: 'range_limit'
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
blacklight_range_limit-7.0.1 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-6.5.0 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-6.4.0 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-7.2.0 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-7.1.0 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-7.0.0 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-7.0.0.rc2 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-7.0.0.rc1 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-6.3.3 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-6.3.2 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-6.3.1 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-6.3.0 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-6.2.1 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-6.2.0 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-6.1.2 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-6.1.1 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-6.1.0 lib/blacklight_range_limit/routes/range_searchable.rb
blacklight_range_limit-6.0.0 lib/blacklight_range_limit/routes/range_searchable.rb