diff --git a/app/controllers/api/v1/sites_controller.rb b/app/controllers/api/v1/sites_controller.rb index 58b1464e..63cc8ea0 100644 --- a/app/controllers/api/v1/sites_controller.rb +++ b/app/controllers/api/v1/sites_controller.rb @@ -85,7 +85,7 @@ module Api # Todos los dominios con WWW habilitado def www_names Site.where(id: DeployWww.all.pluck(:site_id)).pluck(:name).map do |name| - canonicalize "www.#{name}" + "www.#{name}" end end end