Sha256: db08846580e19878e4001edc2dda612fcffab35ac41d1399475e2e1df3067cdc

Contents?: true

Size: 541 Bytes

Versions: 2

Compression:

Stored size: 541 Bytes

Contents

module LesliVault
    class Engine < ::Rails::Engine
        isolate_namespace LesliVault

        initializer :lesli_vault do |app|

            # register assets manifest
            config.assets.precompile += %w[lesli_vault_manifest.js]

            # register engine migrations path
            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
lesli_vault-0.2.0 lib/lesli_vault/engine.rb
lesli_vault-0.1.0 lib/lesli_vault/engine.rb