forget the return
This commit is contained in:
parent
9ab4cd113e
commit
0a83b0d37a
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue