Sha256: d2eab63cd4e0e2d03060db2463abf5c3882fa0b683aa9ea8182ae20f2e24056d

Contents?: true

Size: 396 Bytes

Versions: 6

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true
require 'devise'

module EacUsersSupport
  class Engine < ::Rails::Engine
    isolate_namespace EacUsersSupport

    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

6 entries across 6 versions & 1 rubygems

Version Path
eac_users_support-0.2.2 lib/eac_users_support/engine.rb
eac_users_support-0.2.1 lib/eac_users_support/engine.rb
eac_users_support-0.2.0 lib/eac_users_support/engine.rb
eac_users_support-0.1.2 lib/eac_users_support/engine.rb
eac_users_support-0.1.1 lib/eac_users_support/engine.rb
eac_users_support-0.1.0 lib/eac_users_support/engine.rb