Sha256: 91ea95805863b7d1094993f7ba9ae317e3d25745763d37bf1846b484219922aa
Contents?: true
Size: 441 Bytes
Versions: 15
Compression:
Stored size: 441 Bytes
Contents
module ThecoreUiRailsAdmin class Engine < ::Rails::Engine initializer 'thecore_ui_rails_admin.add_to_migrations' do |app| Thecore::Base.thecore_engines << self.class 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
15 entries across 15 versions & 1 rubygems