From: Andy Allan Date: Sat, 29 Oct 2016 15:08:16 +0000 (+0200) Subject: Use a full url for the image in the diary rss feed. X-Git-Tag: live~3744^2~2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/ee2a941d3eb7279aed5829ddbafe1cc9f9631459 Use a full url for the image in the diary rss feed. Picked up by a validator, see https://validator.w3.org/feed/docs/error/InvalidFullLink.html --- diff --git a/app/views/trace/georss.rss.builder b/app/views/trace/georss.rss.builder index 176f2bdbf..6d3aeebe0 100644 --- a/app/views/trace/georss.rss.builder +++ b/app/views/trace/georss.rss.builder @@ -10,7 +10,7 @@ xml.rss("version" => "2.0", xml.link url_for(:controller => :trace, :action => :list, :only_path => false) xml.image do - xml.url image_path("mag_map-rss2.0.png") + xml.url image_path("mag_map-rss2.0.png", :host => SERVER_URL) xml.title t("trace.georss.title") xml.width 100 xml.height 100