# File app/controllers/people_controller.rb, line 122 def personal return true unless request.post? if @user.update_attributes(params[:person]) flash[:notice] << _('Your personal data has been updated successfully') else flash[:error] << _('Error updating your personal data: ') + @user.errors.full_messages.join('<br>') end end