Show namespace in search autocomplete
This commit is contained in:
parent
285743eee1
commit
cc52eed981
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ module ApplicationHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def search_autocomplete_source
|
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 = [
|
default_nav = [
|
||||||
{ label: "My Profile", url: profile_path },
|
{ label: "My Profile", url: profile_path },
|
||||||
|
|
Loading…
Reference in a new issue