Disable FastGettext from translating AR attrs.
It isn't working fine when using POROs in forms like WikiPage, the following error is being raised: undefined method `abstract_class?' for Object:Class
This commit is contained in:
parent
dbd1bdaeed
commit
628d641b06
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,9 @@ module Gitlab
|
|||
# config.i18n.default_locale = :de
|
||||
config.i18n.enforce_available_locales = false
|
||||
|
||||
# Translation for AR attrs is not working well for POROs like WikiPage
|
||||
config.gettext_i18n_rails.use_for_active_record_attributes = false
|
||||
|
||||
# Configure the default encoding used in templates for Ruby 1.9.
|
||||
config.encoding = "utf-8"
|
||||
|
||||
|
|
Loading…
Reference in a new issue