Permit params needs update to allow saving mastodon (see 0baafea) (#19210)

This commit is contained in:
Joshua Wehner 2023-03-08 18:00:08 +01:00 committed by GitHub
parent ec2ce4d27a
commit 276a53b5b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ module Admin
def settings_params
params.require(:settings_general)&.permit(
settings_keys.map(&:to_sym),
social_media_handles: ::Settings::General.social_media_handles.keys,
social_media_handles: ::Settings::General::SOCIAL_MEDIA_SERVICES,
meta_keywords: ::Settings::General.meta_keywords.keys,
credit_prices_in_cents: ::Settings::General.credit_prices_in_cents.keys,
)