Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/explore_helper.rb')
-rw-r--r--app/helpers/explore_helper.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/app/helpers/explore_helper.rb b/app/helpers/explore_helper.rb
index ed24f2509e8..0b58ebc1fb2 100644
--- a/app/helpers/explore_helper.rb
+++ b/app/helpers/explore_helper.rb
@@ -25,14 +25,6 @@ module ExploreHelper
request_path_with_options(options)
end
- def explore_nav_links
- @explore_nav_links ||= get_explore_nav_links
- end
-
- def explore_nav_link?(link)
- explore_nav_links.include?(link)
- end
-
def public_visibility_restricted?
Gitlab::VisibilityLevel.public_visibility_restricted?
end
@@ -56,10 +48,6 @@ module ExploreHelper
private
- def get_explore_nav_links
- [:projects, :groups, :topics, :snippets]
- end
-
def request_path_with_options(options = {})
request.path + "?#{options.to_param}"
end