diff options
author | francis <francis> | 2008-09-07 16:55:54 +0000 |
---|---|---|
committer | francis <francis> | 2008-09-07 16:55:54 +0000 |
commit | a4f80453ed60881672f3a71b31d9ad61e1db2429 (patch) | |
tree | c18ac0c1131df7c845a1d57e4b68837e369777bf /app/helpers/link_to_helper.rb | |
parent | b5a670a5d3bfca421adb109a94596abc58bae05b (diff) |
Alphabet
Diffstat (limited to 'app/helpers/link_to_helper.rb')
-rw-r--r-- | app/helpers/link_to_helper.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb index 33276168e..1fa1f9f28 100644 --- a/app/helpers/link_to_helper.rb +++ b/app/helpers/link_to_helper.rb @@ -5,7 +5,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: link_to_helper.rb,v 1.39 2008-09-05 09:05:05 francis Exp $ +# $Id: link_to_helper.rb,v 1.40 2008-09-07 16:55:55 francis Exp $ module LinkToHelper @@ -55,6 +55,9 @@ module LinkToHelper def public_body_both_links(public_body) link_to(h(public_body.name), main_url(public_body_url(public_body))) + " (" + link_to("admin", public_body_admin_url(public_body)) + ")" end + def list_public_bodies_default + list_public_bodies_url(:tag => 'a') + end # Users def user_url(user) |