Skip to content

Commit

Permalink
Fix missing translation logic
Browse files Browse the repository at this point in the history
  • Loading branch information
laritakr committed Dec 19, 2023
1 parent ae6b9cd commit f086c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def locale_for(type:, term:, record_class:)
end

def missing_translation(value, _options = {})
case value.class
case value
when FalseClass, NilClass
true
when String
Expand Down

0 comments on commit f086c09

Please sign in to comment.