aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/link_to_helper.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-02-27 12:09:03 +0000
committerfrancis <francis>2008-02-27 12:09:03 +0000
commit9d1ccab02460083797e7b5680dbb40c6f2fc23cd (patch)
treea55bf9f2f9466e6cdd0c54022fbfb1f70287c4d9 /app/helpers/link_to_helper.rb
parentabc70d713ddbd2e337a0f419a268b964bed66832 (diff)
Rename simple_short_name to url_name in routing
Diffstat (limited to 'app/helpers/link_to_helper.rb')
-rw-r--r--app/helpers/link_to_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb
index 9fb26a4f1..dbf569f20 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.16 2008-02-27 12:04:10 francis Exp $
+# $Id: link_to_helper.rb,v 1.17 2008-02-27 12:09:03 francis Exp $
module LinkToHelper
@@ -27,7 +27,7 @@ module LinkToHelper
# Public bodies
def public_body_url(public_body)
- return show_public_body_url(:simple_short_name => public_body.url_name, :only_path => true)
+ return show_public_body_url(:url_name => public_body.url_name, :only_path => true)
end
def public_body_link_short(public_body)
link_to h(public_body.short_or_long_name), public_body_url(public_body)