refactor: user management

This commit is contained in:
Adam Cooke
2021-07-28 14:17:59 +00:00
parent e9a52e9512
commit daf469ce7f
27 changed files with 106 additions and 359 deletions
-4
View File
@@ -119,10 +119,6 @@ class Server < ApplicationRecord
end
end
def accessible_by?(user)
organization.accessible_by?(user)
end
def to_param
permalink
end