Remove I18n gem-monkey-patching

This commit is contained in:
Alex Sherman 2021-01-14 19:35:49 +05:00
parent c57f058ff9
commit dda241c0dc
3 changed files with 3 additions and 6 deletions

View file

@ -5,6 +5,7 @@ module I18n
alias_method :original_localize, :localize
def localize(object, options = {})
options.merge!({ default: '-' })
object.present? ? original_localize(object, options) : ''
end
end