Sha256: 04290f80c1888be24bd5d2f437990a6903cabc134eb7a3f7b69a9df8dc62955f
Contents?: true
Size: 733 Bytes
Versions: 4
Compression:
Stored size: 733 Bytes
Contents
require 'blacklight' require 'leaflet-rails' require 'rails-assets-leaflet-iiif' require 'rails-assets-readmore' require 'font-awesome-rails' require 'rails_config' require 'faraday' require 'blacklight_range_limit' require 'nokogiri' module Geoblacklight class Engine < ::Rails::Engine Blacklight::Configuration.default_values[:view].split.partials = ['index'] Blacklight::Configuration.default_values[:view].delete_field('list') # GeoblacklightHelper is needed by all helpers, so we inject it # into action view base here. initializer 'geoblacklight.helpers' do |app| ActionView::Base.send :include, GeoblacklightHelper end config.to_prepare do Geoblacklight.inject! end end end
Version data entries
4 entries across 4 versions & 1 rubygems