fixed ArgumentError

This commit is contained in:
dinsmol 2021-09-03 16:12:16 +03:00
parent c771902780
commit 62d1ba45a2
8 changed files with 10 additions and 12 deletions

View file

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