Use parameterised server root URL rather than hardcoded
authorHerve Saint-Amand <git@saintamh.org>
Sun, 1 Jan 2017 22:35:59 +0000 (22:35 +0000)
committerHerve Saint-Amand <git@saintamh.org>
Sun, 1 Jan 2017 22:35:59 +0000 (22:35 +0000)
app/views/notifier/changeset_comment_notification.html.erb

index 0365885..67deff5 100644 (file)
@@ -64,7 +64,7 @@
             <%= t 'notifier.changeset_comment_notification.unsubscribe_html', :url => @changeset_url %>
           </p>
           <p style="margin-bottom: 10px">
-            <a href="https://www.openstreetmap.org/" target="_blank" style="color: #222">OpenStreetMap.org</a>
+            <a href="<%= @root_url %>" target="_blank" style="color: #222">OpenStreetMap</a>
           </p>
         </td>
       </tr>