From 3296514ab8067ebd9758f18a2349d40d6fa3585e Mon Sep 17 00:00:00 2001 From: John McKerrell Date: Sat, 5 May 2007 15:01:40 +0000 Subject: [PATCH] Adding display name to go_public method to fix follow on page. --- app/controllers/user_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 60b83cc89..64e1e157d 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -49,7 +49,7 @@ class UserController < ApplicationController @user.data_public = true @user.save flash[:notice] = 'All your edits are now public' - redirect_to :controller => 'user', :action => 'account' + redirect_to :controller => 'user', :action => 'account', :display_name => @user.display_name end def lost_password -- 2.43.2