From 9114161bca6fc0db426ce0f0325053bc6ea96255 Mon Sep 17 00:00:00 2001 From: evazion Date: Tue, 15 Feb 2022 20:22:03 -0600 Subject: [PATCH] uploads: remove obsolete attributes from permitted_attributes. --- app/policies/upload_policy.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/policies/upload_policy.rb b/app/policies/upload_policy.rb index 43810e888..70f787092 100644 --- a/app/policies/upload_policy.rb +++ b/app/policies/upload_policy.rb @@ -18,8 +18,6 @@ class UploadPolicy < ApplicationPolicy end def permitted_attributes - %i[file source tag_string rating status parent_id artist_commentary_title - artist_commentary_desc referer_url - md5_confirmation as_pending translated_commentary_title translated_commentary_desc] + %i[file source referer_url] end end