From 28694e28cf1fc30ee60265fb49ceb76a91b7427d Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Fri, 19 Jun 2015 01:30:37 +0200 Subject: [PATCH] fix yardoc warnings --- app/controllers/diaspora_federation/webfinger_controller.rb | 2 +- lib/diaspora_federation/webfinger/host_meta.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/diaspora_federation/webfinger_controller.rb b/app/controllers/diaspora_federation/webfinger_controller.rb index 2a53bed..f5f5585 100644 --- a/app/controllers/diaspora_federation/webfinger_controller.rb +++ b/app/controllers/diaspora_federation/webfinger_controller.rb @@ -22,7 +22,7 @@ module DiasporaFederation ## # this is the pre RFC 7033 webfinger # - # GET /webfinger?q={uri} + # GET /webfinger?q= def legacy_webfinger @person = find_person(params[:q]) if params[:q] diff --git a/lib/diaspora_federation/webfinger/host_meta.rb b/lib/diaspora_federation/webfinger/host_meta.rb index 1c55f14..525d8bb 100644 --- a/lib/diaspora_federation/webfinger/host_meta.rb +++ b/lib/diaspora_federation/webfinger/host_meta.rb @@ -88,7 +88,7 @@ module DiasporaFederation ## # Gets the webfinger url from an XRD data structure - # @param [Hash] extracted data + # @param [Hash] data extracted data # @return [String] webfinger url def self.webfinger_url_from_xrd(data) link = data[:links].find {|l| (l[:rel] == "lrdd" && l[:type] == "application/xrd+xml") }