Skip to content

Commit

Permalink
Simplify method
Browse files Browse the repository at this point in the history
  • Loading branch information
mirrec committed Nov 28, 2023
1 parent fd59a72 commit 083113d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def editable?
end

def system?
type != CustomGroup.to_s
!is_a?(CustomGroup)
end

def destroyable?
Expand Down

0 comments on commit 083113d

Please sign in to comment.