@@ -29,7 +29,7 class SearchController < ApplicationController | |||||
29 | when 'all' |
|
29 | when 'all' | |
30 | nil |
|
30 | nil | |
31 | when 'my_projects' |
|
31 | when 'my_projects' | |
32 |
User.current. |
|
32 | User.current.projects | |
33 | when 'subprojects' |
|
33 | when 'subprojects' | |
34 | @project ? (@project.self_and_descendants.active.to_a) : nil |
|
34 | @project ? (@project.self_and_descendants.active.to_a) : nil | |
35 | else |
|
35 | else |
General Comments 0
You need to be logged in to leave comments.
Login now