summaryrefslogtreecommitdiff
path: root/app/helpers/application_helper.rb
diff options
context:
space:
mode:
authorJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-02-04 12:29:32 -0500
committerJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-02-04 12:29:32 -0500
commitb1757c200ca219b2c9c40c3895252014f6a22379 (patch)
treea7b13474c80600dedfd171e66060eb899f392961 /app/helpers/application_helper.rb
parentc5ed929d33981d4af25c701087a4eaca1348cc1b (diff)
downloadgitlab-ce-b1757c200ca219b2c9c40c3895252014f6a22379.tar.gz
Change placeholder text to just 'search'search-on-groups-is-ugly
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r--app/helpers/application_helper.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index a2458ad3be0..819bc1be3fa 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -169,18 +169,6 @@ module ApplicationHelper
Gitlab.config.extra
end
- def search_placeholder
- if @project && @project.persisted?
- 'Search'
- elsif @snippet || @snippets || @show_snippets
- 'Search snippets'
- elsif @group && @group.persisted?
- 'Search in this group'
- else
- 'Search'
- end
- end
-
# Render a `time` element with Javascript-based relative date and tooltip
#
# time - Time object