aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin_general
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin_general')
-rw-r--r--app/views/admin_general/index.rhtml2
-rw-r--r--app/views/admin_general/stats.rhtml4
-rw-r--r--app/views/admin_general/timeline.rhtml2
3 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin_general/index.rhtml b/app/views/admin_general/index.rhtml
index eddd216d7..a7dfba90f 100644
--- a/app/views/admin_general/index.rhtml
+++ b/app/views/admin_general/index.rhtml
@@ -98,7 +98,7 @@
</ul>
<p>(<%= link_to "Full list", admin_url("unclassified") %>, or play public
- <%= link_to "Categorisation game", main_url(categorise_play_url(:only_path => true)) %>)
+ <%= link_to "Categorisation game", categorise_play_url(:only_path => true) %>)
</p>
<% end %>
diff --git a/app/views/admin_general/stats.rhtml b/app/views/admin_general/stats.rhtml
index b22adb581..27a52a74b 100644
--- a/app/views/admin_general/stats.rhtml
+++ b/app/views/admin_general/stats.rhtml
@@ -5,7 +5,7 @@
<h2>Chart of requests (excluding backpaged)</h2>
<p>
- <img src="<%= main_url("/foi-live-creation.png")%>">
+ <img src="/foi-live-creation.png">
</p>
<h2>State of requests (includes backpaged)</h2>
@@ -19,7 +19,7 @@
<h2>Chart of users</h2>
<p>
- <img src="<%= main_url("/foi-user-use.png")%>">
+ <img src="/foi-user-use.png">
</p>
<h2>Tracks by type</h2>
diff --git a/app/views/admin_general/timeline.rhtml b/app/views/admin_general/timeline.rhtml
index e84539970..57ded629a 100644
--- a/app/views/admin_general/timeline.rhtml
+++ b/app/views/admin_general/timeline.rhtml
@@ -72,7 +72,7 @@
<% elsif event.event_type == 'response' %>
<% incoming_message = event.incoming_message %>
received
- <%= link_to 'a response', main_url(incoming_message_url(incoming_message)) %>
+ <%= link_to 'a response', incoming_message_url(incoming_message) %>
from <%=h event.info_request.public_body.name %>.
<% elsif event.event_type == 'sent' %>
was initially sent to <%=h event.params[:email]%> at <%=h event.info_request.public_body.name %>.