forget the return

This commit is contained in:
Lennart Prelle 2011-12-23 13:51:40 +01:00
parent 9ab4cd113e
commit 0a83b0d37a

View file

@ -48,7 +48,6 @@ class UsersController < ApplicationController
elsif u[:show_community_spotlight_in_stream] || u[:getting_started]
if @user.update_attributes(u)
flash[:notice] = I18n.t 'users.update.settings_updated'
return
else
flash[:notice] = I18n.t 'users.update.settings_not_updated'
end