Sha256: ee0bfe2726df340041d0351970acd3492c6d0f1d69fd795a60535ffe8fd9f579
Contents?: true
Size: 448 Bytes
Versions: 10
Compression:
Stored size: 448 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
10 entries across 10 versions & 1 rubygems