Sha256: a275f404d63edb34952247e018fb2c9a3627079a3a966e6c05dc6ab5051ae4d5
Contents?: true
Size: 385 Bytes
Versions: 1
Compression:
Stored size: 385 Bytes
Contents
module HighVoltage class Engine < Rails::Engine initializer 'Set up default parent engine' do |app| HighVoltage.parent_engine ||= Rails.application end initializer 'Require concerns path' do |app| concerns_path = 'app/controllers/concerns' unless app.paths.keys.include?(concerns_path) app.paths.add(concerns_path) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
high_voltage-2.2.0 | lib/high_voltage/engine.rb |