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