Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-03-10 00:34:21 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2016-03-15 21:34:32 +0300
commit651e893d63f50a457d20705401b80414a86d0918 (patch)
treee29db89f773e66498dabcb23fdf34ce85861726a /app/helpers/search_helper.rb
parent1879057ced32a33c5204f5903f0e7c931d942b58 (diff)
Better wording
Diffstat (limited to 'app/helpers/search_helper.rb')
-rw-r--r--app/helpers/search_helper.rb4
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)}",