Sha256: d049afcd85e01a674a5cf115697b54a14a77c0b17e72e46fc7cc0ebec32491d3
Contents?: true
Size: 698 Bytes
Versions: 1
Compression:
Stored size: 698 Bytes
Contents
require 'rails/all' module GoGamification class Engine < ::Rails::Engine initializer :append_migrations do |app| # This prevents migrations from being loaded twice from the inside of the # gem itself (dummy test app) if app.root.to_s !~ /#{root}/ config.paths['db/migrate'].expanded.each do |migration_path| app.config.paths['db/migrate'] << migration_path end end end config.i18n.default_locale = :'pt-BR' config.autoload_paths += %W(#{config.root}/lib) config.time_zone = 'Brasilia' config.i18n.load_path += Dir[config.root.join('config', 'locales','**', '*.{rb,yml}').to_s] config.encoding = "utf-8" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
go_gamification-0.0.4 | lib/go_gamification/engine.rb |