pull/5233/head
Markus Kahl 8 years ago
parent 9972a1abbd
commit 4b55e72433
  1. 4
      app/contracts/queries/base_contract.rb

@ -58,9 +58,7 @@ module Queries
end
def project_visible?
project = Project.find_by_id project_id
project && project.visible?(user)
Project.visible(user).where(id: project_id).exists?
end
end
end

Loading…
Cancel
Save