0
0
Fork 0

Fix Style/RedundantReturn cop (#28391)

This commit is contained in:
Matt Jankowski 2023-12-18 04:50:51 -05:00 committed by GitHub
parent 89d468ada7
commit 0e5b8fc46b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 20 deletions

View file

@ -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