lib/blacklight/engine.rb in blacklight-5.15.0 vs lib/blacklight/engine.rb in blacklight-5.16.0

- old
+ new

@@ -9,9 +9,15 @@ # into action view base here. initializer 'blacklight.helpers' do |app| ActionView::Base.send :include, BlacklightHelper end + config.autoload_paths += %W( + #{config.root}/app/presenters + #{config.root}/app/controllers/concerns + #{config.root}/app/models/concerns + ) + # This makes our rake tasks visible. rake_tasks do Dir.chdir(File.expand_path(File.join(File.dirname(__FILE__), '..'))) do Dir.glob(File.join('railties', '*.rake')).each do |railtie| load railtie