Commit d47f17a2 authored by Sean McGivern's avatar Sean McGivern

Merge branch '5300/ccr/elasticsearch_index' into 'master'

Modified find project method to return nil if project not found

See merge request gitlab-org/gitlab-ce!21168
parents 5fcaac92 82bc5687
- project = find_project_for_result_blob(blob)
- return unless project
- file_name, blob = parse_search_result(blob)
- blob_link = project_blob_path(project, tree_join(blob.ref, file_name))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment