Drop contacts.json

This commit is contained in:
Steffen van Bergerem
2016-08-09 16:37:36 +02:00
parent f1e9c99866
commit 9f28b935b9
2 changed files with 0 additions and 29 deletions

View File

@@ -13,13 +13,6 @@ class ContactsController < ApplicationController
# Used by the mobile site
format.mobile { set_up_contacts_mobile }
# Used to populate mentions in the publisher
format.json {
aspect_ids = params[:aspect_ids] || current_user.aspects.map(&:id)
@people = Person.all_from_aspects(aspect_ids, current_user).for_json
render :json => @people.to_json
}
end
end