Sha256: d20031d033649afbae6e80c9b1a6e65daf8e0ca891324e4565b7273e8bb68b0c
Contents?: true
Size: 741 Bytes
Versions: 2
Compression:
Stored size: 741 Bytes
Contents
# frozen_string_literal: true require 'blacklight' require 'coderay' require 'config' require 'faraday' require 'geoblacklight/version' require 'nokogiri' require 'mime/types' require 'handlebars_assets' module Geoblacklight class Engine < ::Rails::Engine # GeoblacklightHelper is needed by all helpers, so we inject it # into action view base here. initializer 'geoblacklight.helpers' do ActionView::Base.send :include, GeoblacklightHelper ActionView::Base.send :include, CartoHelper end config.to_prepare do unless SearchHistoryController.helpers.is_a?(Geoblacklight::ViewHelperOverride) SearchHistoryController.send(:helper, Geoblacklight::ViewHelperOverride) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
geoblacklight-4.0.0.pre.rc2 | lib/geoblacklight/engine.rb |
geoblacklight-4.0.0.pre.rc1 | lib/geoblacklight/engine.rb |