diff options
author | francis <francis> | 2008-03-07 23:13:37 +0000 |
---|---|---|
committer | francis <francis> | 2008-03-07 23:13:37 +0000 |
commit | 3bce538613a76beb3487284fab710a49310715aa (patch) | |
tree | d39f16a71b0fc0c234a26806e9451300bcc381f0 /app/helpers/link_to_helper.rb | |
parent | 8551df974ca6cb7721cf90a548e9acfb424da1eb (diff) |
Index first message text with info requests themselves.
Fix routing for search queries with full stops in.
Public body search indexing.
User search indexing.
Link to specific users out of ones with same name.
Diffstat (limited to 'app/helpers/link_to_helper.rb')
-rw-r--r-- | app/helpers/link_to_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb index 3e6ee7a40..e05aebc0b 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.21 2008-03-05 22:03:15 francis Exp $ +# $Id: link_to_helper.rb,v 1.22 2008-03-07 23:13:38 francis Exp $ module LinkToHelper @@ -47,7 +47,7 @@ module LinkToHelper # Users def user_url(user) - return show_user_url(:url_name => user.url_name, :only_path => true) + return show_user_url(:url_name => user.url_name, :only_path => true) + "#user-" + user.id.to_s end def user_link(user) link_to h(user.name), user_url(user) |