FIX: tag notification preferences were being cleared when other preferences were changed

This commit is contained in:
Neil Lalonde
2018-03-29 15:08:22 -04:00
parent ec6bbe2af0
commit 73c1d3e7fe
5 changed files with 41 additions and 8 deletions

View File

@ -1064,7 +1064,7 @@ class UsersController < ApplicationController
permitted.concat UserUpdater::OPTION_ATTR
permitted.concat UserUpdater::CATEGORY_IDS.keys.map { |k| { k => [] } }
permitted.concat UserUpdater::TAG_NAMES.keys.map { |k| { k => [] } }
permitted.concat UserUpdater::TAG_NAMES.keys
result = params
.permit(permitted)