Sha256: e96a295f29b8ffd00d3e426536e64a64e30a1c8956aabb40ba419c0f82666768

Contents?: true

Size: 537 Bytes

Versions: 1

Compression:

Stored size: 537 Bytes

Contents

module LesliBell
    class Engine < ::Rails::Engine
        isolate_namespace LesliBell

        initializer :lesli_bell do |app|

            # register assets manifest
            config.assets.precompile += %w[lesli_bell_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

1 entries across 1 versions & 1 rubygems

Version Path
lesli_bell-0.1.0 lib/lesli_bell/engine.rb