Sha256: b24f4e21e34687d743e851b7162f8b5df458fbdbdf4542e63f7372d3bc6852a9
Contents?: true
Size: 911 Bytes
Versions: 3
Compression:
Stored size: 911 Bytes
Contents
# Load blacklight which will give curation_concerns views a higher preference than those in blacklight require 'blacklight' require 'curation_concerns/models' require 'hydra-collections' require 'hydra-editor' require 'jquery-ui-rails' require 'qa' module CurationConcerns # Ensures that routes to curation_concerns are prefixed with `curation_concerns_` # def self.use_relative_model_naming? # false # end class Engine < ::Rails::Engine isolate_namespace CurationConcerns require 'breadcrumbs_on_rails' config.autoload_paths += %W( #{config.root}/lib ) initializer 'curation_concerns.initialize' do require 'curation_concerns/rails/routes' end initializer 'curation_concerns.assets.precompile' do |app| app.config.assets.paths << config.root.join('app', 'assets', 'images') app.config.assets.precompile += %w(*.png *.gif) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
curation_concerns-0.7.0 | lib/curation_concerns/engine.rb |
curation_concerns-0.6.0 | lib/curation_concerns/engine.rb |
curation_concerns-0.5.0 | lib/curation_concerns/engine.rb |