Fix api specs. Use id instead path
This commit is contained in:
parent
d431e43392
commit
ccf0686b01
8 changed files with 26 additions and 40 deletions
|
@ -1,6 +1,6 @@
|
|||
class SearchController < ApplicationController
|
||||
def show
|
||||
result = SearchContext.new(current_user.project_ids, params).execute
|
||||
result = SearchContext.new(current_user.authorized_projects.map(&:id), params).execute
|
||||
|
||||
@projects = result[:projects]
|
||||
@merge_requests = result[:merge_requests]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue