Sha256: 5a2967cb60f5c2193b6838d7da9be806ecd44291fb5de30c3b8b5d74233c162c

Contents?: true

Size: 334 Bytes

Versions: 2

Compression:

Stored size: 334 Bytes

Contents

module Foxynews
  class Engine < ::Rails::Engine
    isolate_namespace Foxynews

    initializer :append_migrations do |app|
      unless app.root.to_s.match root.to_s
        config.paths["db/migrate"].expanded.each do |expanded_path|
          app.config.paths["db/migrate"] << expanded_path
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foxynews-1.0.1 lib/foxynews/engine.rb
foxynews-1.0.0 lib/foxynews/engine.rb