summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2019-05-29 10:24:35 +0100
committerPhil Hughes <me@iamphill.com>2019-05-29 10:24:35 +0100
commit1224aa516eefe7be1c8ca306625d5d0b6d524d76 (patch)
tree0fe19052d0496ecef64a1f0727a3dc97a85c4d1e /app/helpers
parent4a9387242dbbfee9e9ddc7b46eb69ad6a2f4ba2c (diff)
downloadgitlab-ce-1224aa516eefe7be1c8ca306625d5d0b6d524d76.tar.gz
Created repository list breadcrumbs Vue app
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/projects_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index f798bfbf703..4cf1d6e93a5 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -655,4 +655,8 @@ module ProjectsHelper
project.builds_enabled? &&
!project.repository.gitlab_ci_yml
end
+
+ def vue_file_list_enabled?
+ Gitlab::Graphql.enabled? && Feature.enabled?(:vue_file_list, @project)
+ end
end