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

los posts solo tienen lang

fixes #1551
fixes #1550
fixes #1549
fixes #1548
This commit is contained in:
f 2021-05-11 17:59:30 -03:00
parent 404436e294
commit c1d6316462

View file

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