Added new email opt out for GabPRO reminders/introducing

• Added:
- new email opt out for GabPRO reminders/introducing
This commit is contained in:
Developer
2021-02-23 13:30:04 -05:00
parent 16b053b72d
commit 8deb255593
6 changed files with 9 additions and 2 deletions

View File

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

View File

@@ -47,7 +47,7 @@ class Settings::PreferencesController < Settings::BaseController
:setting_hide_network,
:setting_aggregate_reblogs,
:setting_group_in_home_feed,
notification_emails: %i(follow follow_request reblog favourite mention digest report emails_from_gabcom),
notification_emails: %i(follow follow_request reblog favourite mention digest report pro_reminder emails_from_gabcom),
interactions: %i(must_be_follower must_be_following)
)
end