lib/blacklight/engine.rb in blacklight-5.19.2 vs lib/blacklight/engine.rb in blacklight-6.0.0.pre1

- old
+ new

@@ -1,11 +1,10 @@ module Blacklight class Engine < Rails::Engine engine_name "blacklight" require 'bootstrap-sass' - require 'blacklight/rails/routes' # BlacklightHelper is needed by all helpers, so we inject it # into action view base here. initializer 'blacklight.helpers' do |app| ActionView::Base.send :include, BlacklightHelper @@ -30,13 +29,9 @@ if app.respond_to?(:secrets) Blacklight.secret_key ||= app.secrets.secret_key_base elsif app.config.respond_to?(:secret_key_base) Blacklight.secret_key ||= app.config.secret_key_base end - end - - initializer "blacklight.assets.precompile" do |app| - app.config.assets.precompile += %w(favicon.ico) end Blacklight::Engine.config.sms_mappings = { 'Virgin' => 'vmobl.com', 'AT&T' => 'txt.att.net',