teams refactoring and cleanup pt.1
This commit is contained in:
parent
1c88fbb391
commit
74e329064a
19 changed files with 39 additions and 126 deletions
|
@ -64,16 +64,6 @@ class TeamsController < ApplicationController
|
|||
@issues = @issues.includes(:author, :project)
|
||||
end
|
||||
|
||||
def search
|
||||
result = SearchContext.new(user_team.project_ids, params).execute
|
||||
|
||||
@projects = result[:projects]
|
||||
@merge_requests = result[:merge_requests]
|
||||
@issues = result[:issues]
|
||||
@wiki_pages = result[:wiki_pages]
|
||||
@teams = result[:teams]
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def projects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue