diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-10 00:34:21 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-15 21:34:32 +0300 |
commit | 651e893d63f50a457d20705401b80414a86d0918 (patch) | |
tree | e29db89f773e66498dabcb23fdf34ce85861726a /app/helpers/search_helper.rb | |
parent | 1879057ced32a33c5204f5903f0e7c931d942b58 (diff) |
Better wording
Diffstat (limited to 'app/helpers/search_helper.rb')
-rw-r--r-- | app/helpers/search_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb index cbead1b8b74..de164547396 100644 --- a/app/helpers/search_helper.rb +++ b/app/helpers/search_helper.rb @@ -72,7 +72,7 @@ module SearchHelper current_user.authorized_groups.search(term).limit(limit).map do |group| { category: "Groups", - scope: "groups", + location: "groups", id: group.id, label: "#{search_result_sanitize(group.name)}", url: group_path(group) @@ -86,7 +86,7 @@ module SearchHelper sorted_by_stars.non_archived.limit(limit).map do |p| { category: "Projects", - scope: "projects", + location: "projects", id: p.id, value: "#{search_result_sanitize(p.name)}", label: "#{search_result_sanitize(p.name_with_namespace)}", |