Sha256: 53a72234624ecdae675ad710f3be79ed1eed65a1d31799b6a67297c720e89735

Contents?: true

Size: 345 Bytes

Versions: 2

Compression:

Stored size: 345 Bytes

Contents

module Unidom
  module Dictionary

    class Engine < ::Rails::Engine

      isolate_namespace Unidom::Dictionary

      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

2 entries across 2 versions & 1 rubygems

Version Path
unidom-dictionary-0.2 lib/unidom/dictionary/engine.rb
unidom-dictionary-0.1 lib/unidom/dictionary/engine.rb