Adding display name to go_public method to fix follow on page.
This commit is contained in:
parent
ce37f1ab65
commit
3296514ab8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue