5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 14:16:22 +00:00

renovar la caché del sitio al guardar el post

This commit is contained in:
f 2020-08-22 18:31:22 -03:00
parent 663baad2e7
commit 8d50524f14

View file

@ -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