diff --git a/app/models/project.rb b/app/models/project.rb index d95645bc25579c2bf2f83a9868b671c397dcc93b..ec47953799fdfe8c6eeb219aa3c066e4ad239e8b 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