mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Remove I18n gem-monkey-patching
This commit is contained in:
parent
c57f058ff9
commit
dda241c0dc
3 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue