]> cat aescling's git repositories - mastodon.git/commitdiff
Add thumbnail, hero, and mascot back to Form::AdminSettings::KEYS (#10430)
authorslice <ryaneft@gmail.com>
Sun, 31 Mar 2019 03:03:56 +0000 (20:03 -0700)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 31 Mar 2019 03:03:56 +0000 (05:03 +0200)
These will allow these images to be uploaded again on the admin settings
page.

app/models/form/admin_settings.rb

index 2d3aa726d671697de2d1ab25ec5e842ffc24a2e1..85a6e6dffc60f898fbeff9b3e419167c837f33c9 100644 (file)
@@ -25,6 +25,9 @@ class Form::AdminSettings
     preview_sensitive_media
     custom_css
     profile_directory
+    thumbnail
+    hero
+    mascot
   ).freeze
 
   BOOLEAN_KEYS = %i(