From 55a250d5a2a3b01bda8aac6f9567f92a06eef95c Mon Sep 17 00:00:00 2001 From: f Date: Tue, 16 Jun 2020 20:36:10 -0300 Subject: [PATCH] =?UTF-8?q?c=C3=B3mo=20pas=C3=B3=20est=C3=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/api/v1/invitades_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/api/v1/invitades_controller.rb b/app/controllers/api/v1/invitades_controller.rb index 360bb97..2951b20 100644 --- a/app/controllers/api/v1/invitades_controller.rb +++ b/app/controllers/api/v1/invitades_controller.rb @@ -19,7 +19,7 @@ module Api set_cookie if contact - render file: rails.root.join('public', '1x1.png'), + render file: Rails.root.join('public', '1x1.png'), content_type: 'image/png', layout: false end @@ -35,7 +35,7 @@ module Api set_cookie if anon - render file: rails.root.join('public', '1x1.png'), + render file: Rails.root.join('public', '1x1.png'), content_type: 'image/png', layout: false end