From c1d631646225bd32772a82753ebf14a11c827c08 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 11 May 2021 17:59:30 -0300 Subject: [PATCH] los posts solo tienen lang fixes #1551 fixes #1550 fixes #1549 fixes #1548 --- app/controllers/posts_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb index c578e94..da0b28a 100644 --- a/app/controllers/posts_controller.rb +++ b/app/controllers/posts_controller.rb @@ -120,7 +120,7 @@ class PostsController < ApplicationController # TODO: Notificar si se pudo o no service.destroy site.touch - redirect_to site_posts_path(site, locale: post.locale.value) + redirect_to site_posts_path(site, locale: post.lang.value) end # Reordenar los artículos