Sha256: 9aeaa241403d768509ea9745a0d4435a4958304bea08828a8cb58a1d3a5a7bfd

Contents?: true

Size: 553 Bytes

Versions: 2

Compression:

Stored size: 553 Bytes

Contents

module LesliSecurity
    class Engine < ::Rails::Engine
        isolate_namespace LesliSecurity

        initializer :lesli_security do |app|

            # register assets manifest
            config.assets.precompile += %w[lesli_security_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_security-0.5.0 lib/lesli_security/engine.rb
lesli_security-0.4.0 lib/lesli_security/engine.rb