Got rid of unnecessary if in return statement.
This commit is contained in:
parent
fae6a371d6
commit
527d3aa60c
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ module Twine
|
|||
|
||||
translation = reference.translated_string_for_lang(lang) if translation.nil? && reference
|
||||
|
||||
return translation if translation
|
||||
return translation
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Reference in a new issue