Skip to content
Snippets Groups Projects
Commit 721df110 authored by pabois's avatar pabois
Browse files

correct scope

parent 2545adc3
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ class Admin::Education::School::Role::PeopleController < Admin::Education::Schoo
def get_available_people
used_person_ids = @role.involvements.where.not(id: @involvement.id).pluck(:person_id)
@available_people = current_university.people.administrator.where.not(id: used_person_ids).accessible_by(current_ability).ordered
@available_people = current_university.people.administration.where.not(id: used_person_ids).accessible_by(current_ability).ordered
end
def breadcrumb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment