查询去掉作业,防抄袭
This commit is contained in:
parent
8172516aff
commit
63782feeac
|
@ -13,7 +13,7 @@ class StoresController < ApplicationController
|
|||
|
||||
result = resultSet.to_a.dup
|
||||
|
||||
result.map { |res|
|
||||
resultSet.to_a.map { |res|
|
||||
if(res.container.nil? ||
|
||||
(res.container.class.to_s=="Project" && res.container.is_public == false) ||
|
||||
(res.container.has_attribute?(:project) && res.container.project.is_public == false) ||
|
||||
|
|
Loading…
Reference in New Issue