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