summaryrefslogtreecommitdiff
path: root/app/helpers/ci/gitlab_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/ci/gitlab_helper.rb')
-rw-r--r--app/helpers/ci/gitlab_helper.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/app/helpers/ci/gitlab_helper.rb b/app/helpers/ci/gitlab_helper.rb
deleted file mode 100644
index e34c8be1dfc..00000000000
--- a/app/helpers/ci/gitlab_helper.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-module Ci
- module GitlabHelper
- def no_turbolink
- { :"data-no-turbolink" => "data-no-turbolink" }
- end
-
- def yaml_web_editor_link(project)
- commits = project.commits
-
- if commits.any? && commits.last.ci_yaml_file
- "#{project.gitlab_url}/edit/master/.gitlab-ci.yml"
- else
- "#{project.gitlab_url}/new/master"
- end
- end
- end
-end