Skip to content

Commit 5a21e32

Browse files
committed
Redundant return
1 parent 13c5e96 commit 5a21e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/validators/language_switcher_setting_validator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ def valid_value?(val)
1212
end
1313

1414
def error_message
15-
return I18n.t("site_settings.errors.experimental_anon_language_switcher_requirements")
15+
I18n.t("site_settings.errors.experimental_anon_language_switcher_requirements")
1616
end
1717
end

0 commit comments

Comments
 (0)