]> git.openstreetmap.org Git - rails.git/commitdiff
Use a full url for the image in the diary rss feed.
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 24 Nov 2016 17:06:14 +0000 (17:06 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 24 Nov 2016 17:06:14 +0000 (17:06 +0000)
This is what was intended by ee2a941d3eb7279aed5829ddbafe1cc9f9631459
which fixed the same problem in a different place.

app/views/diary_entry/rss.rss.builder

index b680e85e6d7c3af8380d889af8e0d449a8ff28f3..8a6915bf1ee82453787cd482d38d4d805065d934 100644 (file)
@@ -9,7 +9,7 @@ xml.rss("version" => "2.0",
     xml.description @description
     xml.link url_for(:action => "list", :host => SERVER_URL)
     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 @title
       xml.width "100"
       xml.height "100"