Sha256: 6c688829daaec7c845315271a9ac2641acaab4dbd581961a690bfdc2944943ca

Contents?: true

Size: 422 Bytes

Versions: 3

Compression:

Stored size: 422 Bytes

Contents

module Pinfirmable
  class Engine < ::Rails::Engine
    config.to_prepare do
      Rails.application.config.assets.precompile += %w(
        loader.gif
      )
    end

    initializer :append_migrations do |app|
      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

3 entries across 3 versions & 1 rubygems

Version Path
pinfirmable-0.1.5 lib/pinfirmable/engine.rb
pinfirmable-0.1.4 lib/pinfirmable/engine.rb
pinfirmable-0.1.3 lib/pinfirmable/engine.rb