From: Ben Marchant Date: Wed, 23 Dec 2015 18:35:27 +0000 (+0000) Subject: Update rss.rss.builder X-Git-Tag: live~4490 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/da6cf371ac27109de75703d3a00f46dd610d8a49 Update rss.rss.builder Change from hard coding URL to using image_path method that wil resolve to the correct asset path. --- diff --git a/app/views/diary_entry/rss.rss.builder b/app/views/diary_entry/rss.rss.builder index 35f05028d..240025fa7 100644 --- a/app/views/diary_entry/rss.rss.builder +++ b/app/views/diary_entry/rss.rss.builder @@ -8,7 +8,7 @@ xml.rss("version" => "2.0", xml.description @description xml.link url_for(:action => "list", :host => SERVER_URL) xml.image do - xml.url "http://www.openstreetmap.org/images/mag_map-rss2.0.png" + xml.url image_path("mag_map-rss2.0.png") xml.title "OpenStreetMap" xml.width "100" xml.height "100"