Commit cc52eed9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Show namespace in search autocomplete

parent 285743ee
......@@ -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 },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment