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