diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-02-15 13:11:46 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-02-15 14:47:02 +1100 |
commit | 4c9f7f7f12a47b516137bf000c3f36120033a077 (patch) | |
tree | 7c482e526733ea0c913a6e783bcf3f719e4fbac7 /app/controllers/user_controller.rb | |
parent | 114d00d1c1e2a997d1921ae044ed7d51237b6434 (diff) |
Stop using main_url to generate absolute urls for the main site
Diffstat (limited to 'app/controllers/user_controller.rb')
-rw-r--r-- | app/controllers/user_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 22d5571ae..fc8b6e014 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -422,7 +422,7 @@ class UserController < ApplicationController ContactMailer.deliver_user_message( @user, @recipient_user, - main_url(user_path(@user)), + user_url(@user), params[:contact][:subject], params[:contact][:message] ) |