Fix Style/RedundantReturn cop (#28391)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2023-12-18 09:50:51 +00:00
1 parent 89d468ada7
commit 0e5b8fc46b
5 files changed
+16 -20

No files matched your search

@@ -12,7 +12,7 @@ class Api::V1::DirectoriesController < Api::BaseController
private
def require_enabled!
return not_found unless Setting.profile_directory
not_found unless Setting.profile_directory
end
def set_accounts