From d2f842f020277452d9a9e0321722dee6ddd39e60 Mon Sep 17 00:00:00 2001 From: francis Date: Thu, 13 Mar 2008 12:33:40 +0000 Subject: Oops, got URL totally wrong - should be of sending user, not recipient user. --- app/controllers/user_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/controllers/user_controller.rb') 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] ) -- cgit v1.2.3