Whitelist report notification param in Settings::NotificationsController (#8560)

Bug in #8559
remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
Eugen Rochko 2018-09-02 02:05:32 +02:00 committed by GitHub
parent c593d6df9c
commit 075e162319
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class Settings::NotificationsController < ApplicationController
def user_settings_params
params.require(:user).permit(
notification_emails: %i(follow follow_request reblog favourite mention digest),
notification_emails: %i(follow follow_request reblog favourite mention digest report),
interactions: %i(must_be_follower must_be_following must_be_following_dm)
)
end