Fixed Isssue #5618. The profile update page shows the correct message.

This commit is contained in:
Sam Radhakrishnan 2015-02-03 14:39:08 +05:30
parent c61a4a91a5
commit 9fcef5b101

View file

@ -57,7 +57,6 @@ class ProfilesController < ApplicationController
respond_to do |format|
format.js { render :nothing => true, :status => 200 }
format.any {
flash[:notice] = I18n.t 'profiles.update.updated'
if current_user.getting_started?
redirect_to getting_started_path
else