From 8d50524f14a08d84b0a2a413cfdc745201975bc3 Mon Sep 17 00:00:00 2001 From: f Date: Sat, 22 Aug 2020 18:31:22 -0300 Subject: [PATCH] =?UTF-8?q?renovar=20la=20cach=C3=A9=20del=20sitio=20al=20?= =?UTF-8?q?guardar=20el=20post?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/api/v1/posts_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/posts_controller.rb b/app/controllers/api/v1/posts_controller.rb index 3757fd12..1237ed5d 100644 --- a/app/controllers/api/v1/posts_controller.rb +++ b/app/controllers/api/v1/posts_controller.rb @@ -14,7 +14,7 @@ module Api site: site, usuarie: usuarie) - service.create_anonymous + site.touch if service.create_anonymous.persisted? # Redirigir a la URL de agradecimiento redirect_to params[:redirect_to] || origin.to_s