Sha256: e756187121ccd28ed9c3cfb6cf4433c0902c2ccbe92f7bcbf430c527a820173c
Contents?: true
Size: 493 Bytes
Versions: 49
Compression:
Stored size: 493 Bytes
Contents
module Tawork class Engine < ::Rails::Engine initializer "tawork.configure_rails_initialization", before: :set_autoload_paths do |app| app.class.configure do config.i18n.load_path += Dir[Tawork::Engine.root.join(*%w(config locales *.{rb,yml})).to_s] config.autoload_paths += %W(#{Tawork::Engine.root.join 'lib'}) Tawork::Engine.paths['db/migrate'].existent.each do |path| config.paths['db/migrate'] << path end end end end end
Version data entries
49 entries across 49 versions & 1 rubygems