Sha256: 995ce07ce4e68a99cd1dcfbcadb8381814ba56936c292091bfe62522cb36ce42
Contents?: true
Size: 596 Bytes
Versions: 1
Compression:
Stored size: 596 Bytes
Contents
module Blacklight class Engine < Rails::Engine 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 end # 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 end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight-5.0.0.pre3 | lib/blacklight/engine.rb |