From cc52eed9816edb513482ec0db428e46c0bdce4c5 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 27 Nov 2012 07:29:11 +0300 Subject: [PATCH] Show namespace in search autocomplete --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index bebac0f714b..45d41d9215a 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -96,7 +96,7 @@ module ApplicationHelper end def search_autocomplete_source - projects = current_user.projects.map{ |p| { label: p.name, url: project_path(p) } } + projects = current_user.projects.map{ |p| { label: p.name_with_namespace, url: project_path(p) } } default_nav = [ { label: "My Profile", url: profile_path },