Sha256: bff89b900378962c480bebe5becfaa1f25f211a925665bab0796d1f2597b6b7d
Contents?: true
Size: 576 Bytes
Versions: 1
Compression:
Stored size: 576 Bytes
Contents
require 'helpers/thecore_ui_commons_helper' module ThecoreUiCommons class Engine < ::Rails::Engine initializer "thecore_ui_commons.view_helpers" do ActiveSupport.on_load(:action_view) { include Helpers::ThecoreUiCommonsHelper } end initializer 'thecore_ui_commons.add_to_migrations' do |app| unless app.root.to_s.match root.to_s # APPEND TO MAIN APP MIGRATIONS FROM THIS GEM config.paths['db/migrate'].expanded.each do |expanded_path| app.config.paths['db/migrate'] << expanded_path end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thecore_ui_commons-2.1.8 | lib/thecore_ui_commons/engine.rb |