Sha256: d20083e5372946793fe0f814fa831c2399d8b90510632bacf7dc635f0b171ea4
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
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 'scrypt' require 'kaminari' require 'iq_rdf' require 'deep_cloneable' require 'json' require 'rails_autolink' require 'bootstrap_form' require 'apipie-rails' require 'database_cleaner' require 'delayed_job_active_record' require 'carrierwave' require 'faraday' require 'faraday_middleware' require 'rack-mini-profiler' require 'faucet_pipeline_rails' 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.load_migrations' do |app| # Pull in all the migrations to the application embedding iqvoc app.config.paths['db/migrate'].concat(Iqvoc::Engine.paths['db/migrate'].existent) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iqvoc-4.13.2 | config/engine.rb |