FIX: dismissed banner topic returned after saving user profile
This commit is contained in:
parent
836bc0f935
commit
0378dca66f
|
@ -62,9 +62,8 @@ class UserUpdater
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
PROFILE_ATTR.each do |attribute|
|
user_profile.location = attributes[:location]
|
||||||
user_profile.send("#{attribute}=", attributes[attribute])
|
user_profile.dismissed_banner_key = attributes[:dismissed_banner_key] if attributes[:dismissed_banner_key].present?
|
||||||
end
|
|
||||||
|
|
||||||
fields = attributes[:custom_fields]
|
fields = attributes[:custom_fields]
|
||||||
if fields.present?
|
if fields.present?
|
||||||
|
|
Loading…
Reference in New Issue