Sha256: ca3bfb021baf5fed9377870e052fdc6d55bd78d228e44aa8aba43543fcc003de

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

module Samurai
  module Core
    class Engine < ::Rails::Engine
      isolate_namespace Samurai

      paths["app/views"] << "app/views/samurai"

      initializer :append_migrations do |app|
        unless app.root.to_s.match(root.to_s)
          config.paths["db/migrate"].expanded.each do |p|
            app.config.paths["db/migrate"] << p
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
samurai_core-1.0.0 lib/samurai/core/engine.rb