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.3.4 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.3.3 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.3.2 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.3.1 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.3.0 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.2.12 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.2.11 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.2.10 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.2.9 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.2.8 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.2.7 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.2.6 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.2.5 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.2.4 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.2.3 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.2.2 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.2.1 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.2.0 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.1.22 lib/thecore_ui_rails_admin/engine.rb
thecore_ui_rails_admin-2.1.21 lib/thecore_ui_rails_admin/engine.rb