uploads: remove obsolete attributes from permitted_attributes.
This commit is contained in:
@@ -18,8 +18,6 @@ class UploadPolicy < ApplicationPolicy
|
|||||||
end
|
end
|
||||||
|
|
||||||
def permitted_attributes
|
def permitted_attributes
|
||||||
%i[file source tag_string rating status parent_id artist_commentary_title
|
%i[file source referer_url]
|
||||||
artist_commentary_desc referer_url
|
|
||||||
md5_confirmation as_pending translated_commentary_title translated_commentary_desc]
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user