Fix Style/RedundantReturn
cop (#28391)
This commit is contained in:
parent
89d468ada7
commit
0e5b8fc46b
5 changed files with 16 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue