Sha256: f8f64822ca066c56d57b7f098500e9a34de0d96e57269d60a3524005cb9f9f54

Contents?: true

Size: 341 Bytes

Versions: 27

Compression:

Stored size: 341 Bytes

Contents

module Unidom
  module Visitor

    class Engine < ::Rails::Engine

      isolate_namespace ::Unidom::Visitor

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

    end

  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
unidom-visitor-0.5 lib/unidom/visitor/engine.rb
unidom-visitor-0.4 lib/unidom/visitor/engine.rb
unidom-visitor-0.3 lib/unidom/visitor/engine.rb
unidom-visitor-0.2 lib/unidom/visitor/engine.rb
unidom-visitor-0.1.2 lib/unidom/visitor/engine.rb
unidom-visitor-0.1.1 lib/unidom/visitor/engine.rb
unidom-visitor-0.1 lib/unidom/visitor/engine.rb