GospelToolbox/Labs

View on GitHub
engines/set_planner/lib/set_planner/engine.rb

Summary

Maintainability
A
25 mins
Test Coverage
module SetPlanner
  class Engine < ::Rails::Engine
    isolate_namespace SetPlanner

    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