diff options
author | Richard Macklin <richard.github@nrm.com> | 2017-01-27 12:31:53 +0300 |
---|---|---|
committer | Richard Macklin <richard.github@nrm.com> | 2017-02-01 22:31:21 +0300 |
commit | 0a0207ea91fdbe869ac70c23178b876bcbeb3021 (patch) | |
tree | 8c98cf62abc2ef06cbc26a4bb5f81b6dd947d83e /app/controllers | |
parent | bd03ca4a8e5b041f84db85f9043aaefd669afb82 (diff) |
Add notified_of_own_activity to permitted attributes
in Profiles::NotificationsController#update
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/profiles/notifications_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/profiles/notifications_controller.rb b/app/controllers/profiles/notifications_controller.rb index b8b71d295f6..a271e2dfc4b 100644 --- a/app/controllers/profiles/notifications_controller.rb +++ b/app/controllers/profiles/notifications_controller.rb @@ -17,6 +17,6 @@ class Profiles::NotificationsController < Profiles::ApplicationController end def user_params - params.require(:user).permit(:notification_email) + params.require(:user).permit(:notification_email, :notified_of_own_activity) end end |