Sha256: 79939e2319bdd9b8186c958e860a1fabbefd94f141a16c928a2d1baf6d1b738c

Contents?: true

Size: 391 Bytes

Versions: 54

Compression:

Stored size: 391 Bytes

Contents

module ThecoreUiRailsAdmin
  class Engine < ::Rails::Engine
    initializer 'thecore_ui_rails_admin.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

54 entries across 54 versions & 1 rubygems

Version Path
thecore_ui_rails_admin-2.5.6 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.5.5 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.5.4 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.5.3 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.5.2 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.5.1 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.5.0 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.4.9 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.4.8 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.4.7 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.4.6 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.4.5 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.4.4 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.4.3 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.4.2 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.4.1 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.4.0 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.3.7 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.3.6 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.3.5 lib/thecore_ui_rails_admin/engine.rb