mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
12 lines
141 B
Ruby
12 lines
141 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class PreviewCardPolicy < ApplicationPolicy
|
||
|
def index?
|
||
|
staff?
|
||
|
end
|
||
|
|
||
|
def update?
|
||
|
staff?
|
||
|
end
|
||
|
end
|