summaryrefslogtreecommitdiff
path: root/app/views/search/_category.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/search/_category.html.haml')
-rw-r--r--app/views/search/_category.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/search/_category.html.haml b/app/views/search/_category.html.haml
index 3e483fe8cd2..74a5d5fb425 100644
--- a/app/views/search/_category.html.haml
+++ b/app/views/search/_category.html.haml
@@ -23,7 +23,7 @@
= search_filter_link 'milestones', _("Milestones")
= users
- - elsif @search_service.show_snippets?
+ - elsif @search_service_presenter.show_snippets?
= search_filter_link 'snippet_titles', _("Titles and Descriptions"), search: { snippets: true, group_id: nil, project_id: nil }
- else
= search_filter_link 'projects', _("Projects"), data: { qa_selector: 'projects_tab' }