MS DG fixed friend request
This commit is contained in:
parent
11d4a9e2c7
commit
1885b5b6b9
2 changed files with 5 additions and 2 deletions
|
|
@ -9,7 +9,10 @@ class DashboardController < ApplicationController
|
|||
|
||||
|
||||
def receive
|
||||
store_objects_from_xml CGI::unescape(params[:xml])
|
||||
|
||||
puts "SOMEONE JUST SENT ME: #{params[:xml]}"
|
||||
|
||||
store_objects_from_xml params[:xml)
|
||||
render :nothing => true
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class PersonRequest
|
|||
def self.for(url)
|
||||
request = PersonRequest.new(:url => url, :person => User.first)
|
||||
request.save
|
||||
request.push_to_url(url)
|
||||
request.push_to([self])
|
||||
end
|
||||
|
||||
def check_for_person_requests
|
||||
|
|
|
|||
Loading…
Reference in a new issue