mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-28 11:00:26 -05: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
|