Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
mastodon
Commits
075e1623
Unverified
Commit
075e1623
authored
6 years ago
by
Eugen Rochko
Committed by
GitHub
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Whitelist report notification param in Settings::NotificationsController (#8560)
Bug in #8559
parent
c593d6df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/controllers/settings/notifications_controller.rb
+1
-1
app/controllers/settings/notifications_controller.rb
with
1 addition
and
1 deletion
+1
-1
app/controllers/settings/notifications_controller.rb
+
1
-
1
View file @
075e1623
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets