send works on strings
This commit is contained in:
parent
11dd99d5d3
commit
e83149d5ed
1 changed files with 1 additions and 1 deletions
|
@ -710,7 +710,7 @@ class Project < ActiveRecord::Base
|
|||
|
||||
if template.nil?
|
||||
# If no template, we should create an instance. Ex `create_gitlab_ci_service`
|
||||
self.send :"create_#{service_name}_service"
|
||||
send("create_#{service_name}_service")
|
||||
else
|
||||
Service.create_from_template(self.id, template)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue