提交 1b8bbe5c 编写于 作者: L Lin Jen-Shin
上级 0f06c6c9
......@@ -723,7 +723,7 @@ class Project < ActiveRecord::Base
if template.nil?
# If no template, we should create an instance. Ex `create_gitlab_ci_service`
send("create_#{service_name}_service")
public_send("create_#{service_name}_service")
else
Service.create_from_template(self.id, template)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册