mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
rubocop: syntax update
This commit is contained in:
parent
4779b9fba1
commit
1654f87e04
2 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,7 @@ module I18n
|
|||
class << self
|
||||
alias_method :original_localize, :localize
|
||||
|
||||
def localize object, options = {}
|
||||
def localize(object, options = {})
|
||||
object.present? ? original_localize(object, options) : ''
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue