diff options
author | francis <francis> | 2008-03-13 12:33:40 +0000 |
---|---|---|
committer | francis <francis> | 2008-03-13 12:33:40 +0000 |
commit | d2f842f020277452d9a9e0321722dee6ddd39e60 (patch) | |
tree | 02b329108f57bb8f36e6546043c4cbea7904c1d8 /app/controllers/user_controller.rb | |
parent | 827f59c0d7356ba15bd4d9e1bb36b8eddce8a2d3 (diff) |
Oops, got URL totally wrong - should be of sending user, not recipient user.
Diffstat (limited to 'app/controllers/user_controller.rb')
-rw-r--r-- | app/controllers/user_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 7eb506337..14cc9ac06 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -4,7 +4,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: user_controller.rb,v 1.38 2008-03-13 00:14:17 francis Exp $ +# $Id: user_controller.rb,v 1.39 2008-03-13 12:33:40 francis Exp $ class UserController < ApplicationController # Show page about a set of users with same url name @@ -193,7 +193,7 @@ class UserController < ApplicationController ContactMailer.deliver_user_message( @user, @recipient_user, - main_url(user_url(@recipient_user)), + main_url(user_url(@user)), params[:contact][:subject], params[:contact][:message] ) |