summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-09-14 11:15:54 +0300
committerValery Sizov <vsv2711@gmail.com>2015-09-14 11:15:54 +0300
commitad5d2c3e78e56cb00f608020d1b3a7980f4ac6f4 (patch)
tree68758c64a4ee799f1e55f5455aa095d13164627d /config
parent77bda265f47763e78ef0a3d4c0e8893e9ecfda69 (diff)
downloadgitlab-ce-ad5d2c3e78e56cb00f608020d1b3a7980f4ac6f4.tar.gz
fix of API
Diffstat (limited to 'config')
-rw-r--r--config/initializers/1_settings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb
index 3893bd45cf5..339419559d1 100644
--- a/config/initializers/1_settings.rb
+++ b/config/initializers/1_settings.rb
@@ -180,7 +180,7 @@ Settings['gitlab_ci'] ||= Settingslogic.new({})
Settings.gitlab_ci['all_broken_builds'] = true if Settings.gitlab_ci['all_broken_builds'].nil?
Settings.gitlab_ci['add_pusher'] = false if Settings.gitlab_ci['add_pusher'].nil?
Settings.gitlab_ci['url'] ||= Settings.send(:build_gitlab_ci_url)
-Settings.gitlab_ci['builds_path'] = File.expand_path(Settings.gitlab_ci['builds_path'] || "builds/", Rails.root + '/ci')
+Settings.gitlab_ci['builds_path'] = File.expand_path(Settings.gitlab_ci['builds_path'] || "builds/", Rails.root)
#
# Reply by email