revert a fix for the profile flash

This commit is contained in:
Maxwell Salzberg 2011-08-09 18:32:27 -07:00
parent 054c897820
commit 7ae6ca201b

View file

@ -37,7 +37,7 @@ class ProfilesController < ApplicationController
if current_user.update_profile params[:profile] if current_user.update_profile params[:profile]
flash[:notice] = I18n.t 'profiles.update.updated' flash[:notice] = I18n.t 'profiles.update.updated'
if current_user.getting_started? if current_user.getting_started?
redirect_to getting_started_path, :notice => flash[:notice] redirect_to getting_started_path
else else
redirect_to edit_profile_path redirect_to edit_profile_path
end end