aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/body/show.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/body/show.rhtml')
-rw-r--r--app/views/body/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/body/show.rhtml b/app/views/body/show.rhtml
index 07cf3ce8e..c7196be85 100644
--- a/app/views/body/show.rhtml
+++ b/app/views/body/show.rhtml
@@ -10,7 +10,7 @@
<p class="subtitle">
<%=@public_body.type_of_authority(true)%> in the UK<% if not @public_body.short_name.empty? %>, also called <%= h(@public_body.short_name) %><% end %>
(<%= link_to "home page", @public_body.calculated_home_page %>)
-<% if !@user.nil? && @user.owns_every_request? %>
+<% if !@user.nil? && @user.admin_page_links? %>
(<%= link_to "admin", public_body_admin_url(@public_body) %>)
<% end %>
</p>