5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-17 03:36:22 +00:00

Merge branch 'issue-9989' into 'rails'

fix: temporalmente deshabilitar el boton #9989

See merge request sutty/sutty!118
This commit is contained in:
fauno 2023-03-23 21:57:42 +00:00
commit ea774cf097
2 changed files with 4 additions and 7 deletions

View file

@ -108,6 +108,10 @@ class Post
# Cacofonía
html.to_html.html_safe
rescue Liquid::Error => e
ExceptionNotifier.notify(e, data: { site: site.name, post: post.id })
''
end
end

View file

@ -6,13 +6,6 @@
edit_site_post_path(@site, @post.id),
class: 'btn btn-block'
- unless @post.layout.ignored?
= link_to t('posts.preview.btn'),
site_post_preview_path(@site, @post.id),
class: 'btn btn-block',
target: '_blank',
rel: 'noopener'
%table.table.table-condensed
%thead
%tr