Sha256: a0df413f0331805eec47f6a0f70a8caf9507ae22b2f68833d6be29e348650bff
Contents?: true
Size: 621 Bytes
Versions: 3
Compression:
Stored size: 621 Bytes
Contents
# frozen_string_literal: true require 'blacklight' require 'coderay' require 'config' require 'faraday' require 'faraday_middleware' 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 Geoblacklight.inject! end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
geoblacklight-4.0.0.pre.alpha.3 | lib/geoblacklight/engine.rb |
geoblacklight-4.0.0.pre.alpha.2 | lib/geoblacklight/engine.rb |
geoblacklight-4.0.0.pre.alpha.1 | lib/geoblacklight/engine.rb |