Project

General

Profile

Revision c80f3b10

Added by Tom Caspy almost 7 years ago

fixes #7230 - rails 4 compatibility

View differences:

lib/foreman_docker/engine.rb
14 14
    config.autoload_paths += Dir["#{config.root}/app/models/concerns"]
15 15

  
16 16
    initializer 'foreman_docker.load_app_instance_data' do |app|
17
      app.config.paths['db/migrate'] += ForemanDocker::Engine.paths['db/migrate'].existent
17
      ForemanDocker::Engine.paths['db/migrate'].existent.each do |path|
18
        app.config.paths['db/migrate'] << path
19
      end
18 20
    end
19 21

  
20 22
    initializer "foreman_docker.assets.precompile" do |app|

Also available in: Unified diff