Преглед на файлове

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

Bug in #8559
master
Eugen Rochko преди 5 години
committed by GitHub
родител
ревизия
075e162319
No known key found for this signature in database GPG ключ ID: 4AEE18F83AFDEB23
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      app/controllers/settings/notifications_controller.rb

+ 1
- 1
app/controllers/settings/notifications_controller.rb Целия файл

@@ -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


Зареждане…
Отказ
Запис