revert a fix for the profile flash
This commit is contained in:
parent
054c897820
commit
7ae6ca201b
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class ProfilesController < ApplicationController
|
|||
if current_user.update_profile params[:profile]
|
||||
flash[:notice] = I18n.t 'profiles.update.updated'
|
||||
if current_user.getting_started?
|
||||
redirect_to getting_started_path, :notice => flash[:notice]
|
||||
redirect_to getting_started_path
|
||||
else
|
||||
redirect_to edit_profile_path
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue