From aabbaddb3e7bb77faa2468141ce6c33caed4e0e4 Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Mon, 22 Oct 2012 17:42:13 +1100 Subject: [PATCH] Make publication_scheme and disclosure_log links in admin interface --- lib/views/admin_public_body/show.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/views/admin_public_body/show.rhtml b/lib/views/admin_public_body/show.rhtml index fe80fbd..ae021f2 100644 --- a/lib/views/admin_public_body/show.rhtml +++ b/lib/views/admin_public_body/show.rhtml @@ -10,7 +10,7 @@ <%=name%> - <% if column_name == 'home_page' %> + <% if ['home_page', 'publication_scheme', 'disclosure_log'].include? column_name %> <%= link_to(h(value), value) %> <% elsif column_name == 'request_email' %> <%= link_to(h(value), "mailto:#{value}") %>