summaryrefslogtreecommitdiff
path: root/app/helpers/ci
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-29 16:07:44 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-29 16:07:44 +0200
commit87240e989ba913bad787d8bc81da1a9b87f1da53 (patch)
treeecd75d098682e90d30e72a251be4691687f87a76 /app/helpers/ci
parent2c3355f9584a1a22d91806b8b49d441f22c0c286 (diff)
downloadgitlab-ce-87240e989ba913bad787d8bc81da1a9b87f1da53.tar.gz
Move CI project settings page to CE project settings areamove-ci-settings
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/helpers/ci')
-rw-r--r--app/helpers/ci/gitlab_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/ci/gitlab_helper.rb b/app/helpers/ci/gitlab_helper.rb
index 2b89a0ce93e..13e4d0fd9c3 100644
--- a/app/helpers/ci/gitlab_helper.rb
+++ b/app/helpers/ci/gitlab_helper.rb
@@ -27,9 +27,9 @@ module Ci
commits = project.commits
if commits.any? && commits.last.push_data[:ci_yaml_file]
- "#{@project.gitlab_url}/edit/master/.gitlab-ci.yml"
+ "#{project.gitlab_url}/edit/master/.gitlab-ci.yml"
else
- "#{@project.gitlab_url}/new/master"
+ "#{project.gitlab_url}/new/master"
end
end
end