Sha256: 093775780e3726f4c32f33def8eaebc7f4c8c0fa1dad16fd27da161bc1b9d009
Contents?: true
Size: 712 Bytes
Versions: 5
Compression:
Stored size: 712 Bytes
Contents
require 'blacklight' require 'leaflet-rails' require 'font-awesome-rails' require 'rails_config' require 'faraday' require 'blacklight_range_limit' require 'nokogiri' require 'coderay' require 'geoblacklight-icons' 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
5 entries across 5 versions & 1 rubygems