@ -33,11 +33,11 @@ class Discuss < ApplicationRecord
"/tasks/#{game&.identifier}"
end
def contents(shixun, user)
return content unless hidden?
shixun.has_manager?(user) ? content : ''
# def contents(shixun, user)
# return content unless hidden?
#
# shixun.has_manager?(user) ? content : ''
# end
def child_discuss(user)
user.admin? ?