summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2015-02-04 20:20:57 +0000
committerValery Sizov <valery@gitlab.com>2015-02-04 20:20:57 +0000
commitb98b7e904b84d58d7f945569f51047149d1d4dda (patch)
treeef51cec8475c641a4269c550adfee5007b0c7bc9 /lib/api
parentac7249d3fa579bdb8abb184cd4d6414f3143753c (diff)
parent7cb0a536330f36d67aae007617f11cab25e77c5a (diff)
downloadgitlab-ci-b98b7e904b84d58d7f945569f51047149d1d4dda.tar.gz
Merge branch 'topic/settings-email' into 'master'
Migrate E-mail notification to Services menu As discussed earlier e-mail notifications lives now under Services menu. Let me know if this is right direction. I think now that maybe I shouldn't migrate email_add_committer and email_recipients to MailService and instead use parameters from Project. What guys do you think? Tests results are here: https://semaphoreapp.com/ayufan/gitlab-ci/branches/topic-settings-email See merge request !30
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/projects.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index 632aa51..a3cc9f3 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -94,6 +94,7 @@ module API
}
project = Project.new(filtered_params)
+ project.build_missing_services
project.build_default_job
if project.save