Merge branch 'feature/emails-from-gabcom-notification-option' into 'develop'

New option to notificaion preferences for emails from gab.com for...

See merge request gab/social/gab-social!26
This commit is contained in:
Rob Colbert
2019-08-01 12:48:33 +00:00
5 changed files with 5 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 pending_account),
notification_emails: %i(follow follow_request reblog favourite mention digest report pending_account emails_from_gabcom),
interactions: %i(must_be_follower must_be_following must_be_following_dm)
)
end

View File

@@ -51,7 +51,7 @@ class Settings::PreferencesController < Settings::BaseController
:setting_show_application,
:setting_advanced_layout,
:setting_group_in_home_feed,
notification_emails: %i(follow follow_request reblog favourite mention digest report pending_account),
notification_emails: %i(follow follow_request reblog favourite mention digest report pending_account emails_from_gabcom),
interactions: %i(must_be_follower must_be_following)
)
end