aboutsummaryrefslogtreecommitdiff
path: root/web/views
diff options
context:
space:
mode:
Diffstat (limited to 'web/views')
-rw-r--r--web/views/key.erb2
-rw-r--r--web/views/relation.erb2
-rw-r--r--web/views/tag.erb2
3 files changed, 3 insertions, 3 deletions
diff --git a/web/views/key.erb b/web/views/key.erb
index 298258f..0c1c2f7 100644
--- a/web/views/key.erb
+++ b/web/views/key.erb
@@ -36,7 +36,7 @@
</div>
<% if @image_url %>
<div class="wiki_image">
- <img src="<%= @image_url %>" alt=""/>
+ <img src="<%= @image_url.sub(/^http:/, '') %>" alt=""/>
</div>
<% end %>
<h2><%= h(t.taginfo.overview) %></h2>
diff --git a/web/views/relation.erb b/web/views/relation.erb
index 888772b..03cc1e9 100644
--- a/web/views/relation.erb
+++ b/web/views/relation.erb
@@ -21,7 +21,7 @@
<div id="overview">
<% if @image_url %>
<div class="wiki_image">
- <img src="<%= @image_url %>" alt=""/>
+ <img src="<%= @image_url.sub(/^http:/, '') %>" alt=""/>
</div>
<% end %>
<h2><%= h(t.pages.relation.overview.title) %></h2>
diff --git a/web/views/tag.erb b/web/views/tag.erb
index eca2ad8..f8a9d7a 100644
--- a/web/views/tag.erb
+++ b/web/views/tag.erb
@@ -30,7 +30,7 @@
<div id="overview">
<% if @image_url %>
<div class="wiki_image">
- <img src="<%= @image_url %>" alt=""/>
+ <img src="<%= @image_url.sub(/^http:/, '') %>" alt=""/>
</div>
<% end %>
<h2><%= h(t.taginfo.overview) %></h2>