]> git.openstreetmap.org Git - rails.git/commitdiff
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 03658852a262983cf5b99b8dca81ddcaeb33f9a2..67deff5e03682f6f464210c284f195dc1482d0ab 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>