A MediaAsset represents an image or video file uploaded to Danbooru. It stores the metadata associated with the image or video. This is to work on decoupling files from posts so that images can be uploaded separately from posts.
6 lines
75 B
Ruby
6 lines
75 B
Ruby
class MediaAssetPolicy < ApplicationPolicy
|
|
def index?
|
|
true
|
|
end
|
|
end
|