Show namespace in search autocomplete
This commit is contained in:
parent
285743eee1
commit
cc52eed981
|
@ -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 },
|
||||
|
|
Loading…
Reference in a new issue