diff --git a/app/models/project.rb b/app/models/project.rb index d95645bc255..ec47953799f 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -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