aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-06-06 13:59:24 +0100
committerRobin Houston <robin.houston@gmail.com>2012-06-06 19:35:12 +0100
commitc89e6efac2fb10ddf3c1a111f188c64743c3714e (patch)
treed7c7abc15e5c7d27d7cd0e3a20692577257a68b0
parent917fe1b5debaea6414a5525b74768298b9cbe675 (diff)
PublicBodyVersion doesn’t have api_key either
-rw-r--r--app/views/admin_public_body/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin_public_body/show.rhtml b/app/views/admin_public_body/show.rhtml
index 643ccf5e8..fa17d4027 100644
--- a/app/views/admin_public_body/show.rhtml
+++ b/app/views/admin_public_body/show.rhtml
@@ -49,7 +49,7 @@
<th>Updated at</th>
<%
history_columns = PublicBody.content_columns + [] # force dup
- history_columns.delete_if {|c| ['created_at', 'updated_at', 'first_letter'].include?(c.name)}
+ history_columns.delete_if {|c| ['created_at', 'updated_at', 'first_letter', 'api_key'].include?(c.name)}
for column in history_columns %>
<th><%= column.human_name %></th>
<% end %>