aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-09-29 01:20:51 +0100
committerFrancis Irving <francis@mysociety.org>2010-09-29 01:20:51 +0100
commit88734663808f16fd443d767cea532cc7e2e3e0ea (patch)
treee75a9f4a20d5d1daefa7d18b86edcf30de7cc248
parent4c7d4bd7ff63b83b03308050995fdcc9cd266ab9 (diff)
Change view to reference new name.
-rw-r--r--app/views/admin_public_body/_tags.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin_public_body/_tags.rhtml b/app/views/admin_public_body/_tags.rhtml
index 362424013..85dc942fd 100644
--- a/app/views/admin_public_body/_tags.rhtml
+++ b/app/views/admin_public_body/_tags.rhtml
@@ -1,4 +1,4 @@
-<% for t in body.public_body_tags %>
+<% for t in body.tags %>
<% if t.value %>
<%= link_to(h(t.name), main_url(list_public_bodies_url(:tag => t.name, :only_path => true))) %>:<%= link_to(h(t.value), main_url(list_public_bodies_url(:tag => t.name_and_value, :only_path => true))) %>
<% else %>