Skip to content
Snippets Groups Projects
Commit cc52eed9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Show namespace in search autocomplete

parent 285743ee
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment