181cd299f9
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
11 lines
200 B
Ruby
11 lines
200 B
Ruby
module Projects
|
|
module GroupLinks
|
|
class DestroyService < BaseService
|
|
def execute(group_link)
|
|
return false unless group_link
|
|
|
|
group_link.destroy
|
|
end
|
|
end
|
|
end
|
|
end
|