mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-09-11 20:57:44 +00:00
16 lines
163 B
Ruby
16 lines
163 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class TagPolicy < ApplicationPolicy
|
||
|
def index?
|
||
|
staff?
|
||
|
end
|
||
|
|
||
|
def hide?
|
||
|
staff?
|
||
|
end
|
||
|
|
||
|
def unhide?
|
||
|
staff?
|
||
|
end
|
||
|
end
|