diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-12-10 20:47:22 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-12-11 20:02:09 +0300 |
commit | 1e2a4895c803f4881ab63c1816141462fbfa6d2b (patch) | |
tree | 6b611a2715c76e39aba03295c71e41b37485bd37 /app/helpers | |
parent | 3578153d3e838da92587fed88a608d9a5458c37c (diff) |
Finishing touches
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/yaml_helper.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/helpers/yaml_helper.rb b/app/helpers/yaml_helper.rb deleted file mode 100644 index 17990e1f475..00000000000 --- a/app/helpers/yaml_helper.rb +++ /dev/null @@ -1,11 +0,0 @@ -module YamlHelper - def yaml_web_editor_link(project) - commits = project.ci_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 |