discourse/app/serializers/web_hook_post_serializer.rb

18 lines
190 B
Ruby

class WebHookPostSerializer < PostSerializer
def include_can_edit?
false
end
def can_delete
false
end
def can_recover
false
end
def can_wiki
false
end
end