uploads: remove obsolete attributes from permitted_attributes.

This commit is contained in:
evazion
2022-02-15 20:22:03 -06:00
parent fefa6036fb
commit 9114161bca

View File

@@ -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