Commit fba0d03c authored by Ronan OConnor's avatar Ronan OConnor

Merge branch 'docs_vlad_es_quotes' into 'master'

Corrected expression to include correct quotes in ES Integration

See merge request gitlab-org/gitlab!21418
parents c751aa2a a8641022
...@@ -524,7 +524,7 @@ Here are some common pitfalls and how to overcome them: ...@@ -524,7 +524,7 @@ Here are some common pitfalls and how to overcome them:
```ruby ```ruby
u = User.find_by_username('your-username') u = User.find_by_username('your-username')
s = SearchService.new(u, {:search => 'search_term', :scope => blobs}) s = SearchService.new(u, {:search => 'search_term', :scope => 'blobs'})
pp s.search_objects.to_a pp s.search_objects.to_a
``` ```
......
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