aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2009-09-08 02:38:41 +0000
committerfrancis <francis>2009-09-08 02:38:41 +0000
commit17f1ce52b65d0eef3a86f668a889c2751de5be11 (patch)
tree018368ab107d772a499be19826d29a9bea24bbe7
parent9a840bf9c7958e1131983a4e45e8dee18bf7d8c9 (diff)
Fix broken link
-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 b7ecc1143..7d78b73bc 100644
--- a/app/views/admin_public_body/_tags.rhtml
+++ b/app/views/admin_public_body/_tags.rhtml
@@ -1,5 +1,5 @@
<%= body.public_body_tags.map { |t|
- link_to(h(t.name), list_public_bodies_url(:tag => t.name)) +
+ link_to(h(t.name), main_url(list_public_bodies_url(:tag => t.name, :only_path => true))) +
' (<a href="' + admin_url('body/list') + "?query=" + h(t.name) + '">admin</a>)'
}.join(' ') %>