Allow teachers to access internal users and manage them in their study groups
This commit is contained in:

committed by
Sebastian Serth

parent
e3018c1847
commit
0e7c38657f
@ -15,7 +15,7 @@ class StudyGroup < ApplicationRecord
|
||||
end
|
||||
|
||||
def user_count
|
||||
external_users.count + internal_users.count
|
||||
study_group_memberships.distinct.count
|
||||
end
|
||||
|
||||
def to_s
|
||||
|
Reference in New Issue
Block a user