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]
|
elsif u[:show_community_spotlight_in_stream] || u[:getting_started]
|
||||||
if @user.update_attributes(u)
|
if @user.update_attributes(u)
|
||||||
flash[:notice] = I18n.t 'users.update.settings_updated'
|
flash[:notice] = I18n.t 'users.update.settings_updated'
|
||||||
return
|
|
||||||
else
|
else
|
||||||
flash[:notice] = I18n.t 'users.update.settings_not_updated'
|
flash[:notice] = I18n.t 'users.update.settings_not_updated'
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue