Sha256: 96e87c46eb4dab88747bdf2a43440edcd278a17b6baed2a683ef2d308e99f367
Contents?: true
Size: 616 Bytes
Versions: 8
Compression:
Stored size: 616 Bytes
Contents
module Helena class Engine < ::Rails::Engine isolate_namespace Helena config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.{rb,yml}').to_s] # Thanks to https://github.com/thoughtbot/factory_girl_rails/pull/42 initializer 'helena.factories', after: 'factory_girl.set_factory_paths' do FactoryGirl.definition_file_paths << File.expand_path('../../../spec/factories', __FILE__) if defined?(FactoryGirl) end config.to_prepare do Dir.glob(Rails.root + 'app/decorators/**/*_decorator*.rb').each do |c| require_dependency c end end end end
Version data entries
8 entries across 8 versions & 1 rubygems