Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/controllers/people_controller.rb9
-rw-r--r--config/routes.rb4
2 files changed, 0 insertions, 13 deletions
diff --git a/app/controllers/people_controller.rb b/app/controllers/people_controller.rb
index 9d33cf338..f03036e10 100644
--- a/app/controllers/people_controller.rb
+++ b/app/controllers/people_controller.rb
@@ -113,15 +113,6 @@ class PeopleController < ApplicationController
end
end
- def retrieve_remote
- if params[:diaspora_handle]
- Workers::FetchWebfinger.perform_async(params[:diaspora_handle])
- head :ok
- else
- head :unprocessable_entity
- end
- end
-
private
def find_person
diff --git a/config/routes.rb b/config/routes.rb
index 73bd3a383..a7a5af2de 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -181,10 +181,6 @@ Rails.application.routes.draw do
resources :photos, except: %i(new update)
get :stream
get :hovercard
-
- collection do
- post 'by_handle' => :retrieve_remote, :as => 'person_by_handle'
- end
end
# Note: The contraint for this route's username parameter cannot be removed.