|
|
@ -25,7 +25,6 @@ class Tiding < ApplicationRecord
|
|
|
|
|
|
|
|
|
|
|
|
def anonymous?
|
|
|
|
def anonymous?
|
|
|
|
(container_type == 'StudentWorksScore' && extra.to_i == 3) ||
|
|
|
|
(container_type == 'StudentWorksScore' && extra.to_i == 3) ||
|
|
|
|
(container_type == 'StudentWorksScoresAppeal' && parent_container_type == 'AppealResult') ||
|
|
|
|
|
|
|
|
(container_type == 'StudentWorksScoresAppeal' && parent_container_type == 'StudentWork' && tiding_type == 'System')
|
|
|
|
(container_type == 'StudentWorksScoresAppeal' && parent_container_type == 'StudentWork' && tiding_type == 'System')
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|