Sha256: f8e70dadbdc97338aa01cd0598d18504747f8521f8abc1c0606838b1b9ccd304

Contents?: true

Size: 314 Bytes

Versions: 1

Compression:

Stored size: 314 Bytes

Contents

module Snapuser
  class Engine < ::Rails::Engine

    initializer "Snapuser.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

1 entries across 1 versions & 1 rubygems

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