mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-08 07:55:14 +00:00
12 lines
149 B
Ruby
12 lines
149 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class PreviewCardProviderPolicy < ApplicationPolicy
|
||
|
def index?
|
||
|
staff?
|
||
|
end
|
||
|
|
||
|
def update?
|
||
|
staff?
|
||
|
end
|
||
|
end
|