Commit cc52eed9816edb513482ec0db428e46c0bdce4c5
1 parent
285743ee
Exists in
master
and in
4 other branches
Show namespace in search autocomplete
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/application_helper.rb
... | ... | @@ -96,7 +96,7 @@ module ApplicationHelper |
96 | 96 | end |
97 | 97 | |
98 | 98 | def search_autocomplete_source |
99 | - projects = current_user.projects.map{ |p| { label: p.name, url: project_path(p) } } | |
99 | + projects = current_user.projects.map{ |p| { label: p.name_with_namespace, url: project_path(p) } } | |
100 | 100 | |
101 | 101 | default_nav = [ |
102 | 102 | { label: "My Profile", url: profile_path }, | ... | ... |