Browse Source

[FIX]

pull/278/head
viletyy 5 years ago
parent
commit
5447d54d30
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/project.rb

+ 1
- 1
app/models/project.rb View File

@@ -115,7 +115,7 @@ class Project < ApplicationRecord
scope :secret_and_visible, -> {joins(:license).where("licenses.is_secret = TRUE OR projects.is_public = TRUE")}
delegate :is_secret, to: :license
delegate :is_secret, to: :license, allow_nil: true
def self.search_project(search)


Loading…
Cancel
Save