BigW Consortium Gitlab

Commit e83149d5 by Lin Jen-Shin

send works on strings

parent 11dd99d5
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment