mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 14:36:22 +02:00
fixed ArgumentError
This commit is contained in:
parent
c771902780
commit
62d1ba45a2
8 changed files with 10 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue