We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe7627f commit 19d5bb0Copy full SHA for 19d5bb0
app/models/project.rb
@@ -34,7 +34,7 @@ module Types
34
35
scope :internal_projects, -> { where(user_id: nil) }
36
scope :only_scratch, lambda { |only_scratch|
37
- only_scratch ? Project.all.where(project_type: Project::Types::SCRATCH) : self
+ only_scratch ? Project.where(project_type: Project::Types::SCRATCH) : self
38
}
39
40
has_paper_trail(
0 commit comments