Rubocop redundant return fix
This commit is contained in:
parent
d7133a44da
commit
55d196c2e1
|
@ -13,7 +13,7 @@ class EnableSteamLoginsValidator
|
||||||
|
|
||||||
def error_message
|
def error_message
|
||||||
if SiteSetting.steam_web_api_key.blank?
|
if SiteSetting.steam_web_api_key.blank?
|
||||||
return I18n.t('site_settings.errors.steam_web_api_key_is_empty')
|
I18n.t('site_settings.errors.steam_web_api_key_is_empty')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue