Sha256: afe8c348c07124ac0c4fabeabb593bd142ab7c7a9c9e934a29cc87fc51a8bc8d
Contents?: true
Size: 498 Bytes
Versions: 1
Compression:
Stored size: 498 Bytes
Contents
module Distribuo class Engine < ::Rails::Engine isolate_namespace Distribuo def self.mounted_path route = Rails.application.routes.routes.detect do |route| route.app == self end route && route.path end 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
distribuo-0.1.8 | lib/distribuo/engine.rb |