mirror of
https://github.com/diaspora/diaspora.git
synced 2026-01-09 15:18:11 -05:00
Drop contacts.json
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user