mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02: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
|