Sha256: 26af209ff50e72516aa6a709e1873a5548c9e90dd2ad840c9177a6bf40fef63c
Contents?: true
Size: 742 Bytes
Versions: 3
Compression:
Stored size: 742 Bytes
Contents
require 'rails' # An engine doesn't require it's own dependencies automatically. We also don't # want the applications to have to do that. require 'cancan' require 'authlogic' require 'kaminari' require 'iq_rdf' require 'json' require 'rails_autolink' require 'iqvoc/controller_extensions' module Iqvoc class Engine < Rails::Engine paths["lib/tasks"] << "lib/engine_tasks" initializer "iqvoc.mixin_controller_extensions" do |app| if Kernel.const_defined?(:ApplicationController) ApplicationController.send(:include, Iqvoc::ControllerExtensions) end end initializer "iqvoc.add_assets_to_precompilation" do |app| app.config.assets.precompile += Iqvoc.core_assets end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
iqvoc-3.5.3 | config/engine.rb |
iqvoc-3.5.2 | config/engine.rb |
iqvoc-3.5.1 | config/engine.rb |