Rubocop redundant return fix

This commit is contained in:
Penar Musaraj 2019-11-14 15:05:50 -05:00
parent d7133a44da
commit 55d196c2e1
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class EnableSteamLoginsValidator
def error_message
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