5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 02:11:42 +00:00

no usar cache en los botones del sitio (aun)

This commit is contained in:
f 2020-05-30 20:50:39 -03:00
parent 477b417567
commit afc7ff5a9f

View file

@ -7,16 +7,15 @@
%main.row
%aside.menu.col-md-3
- cache @site do
%h1
= link_to @site.title, @site.url
%p.lead= @site.description
%h1
= link_to @site.title, @site.url
%p.lead= @site.description
%h3= t('posts.new')
%ul
- @site.layouts.to_h.keys.each do |layout|
%li= link_to @site.i18n.dig('layouts', layout.to_s) || layout.to_s.humanize,
new_site_post_path(@site, layout: layout)
%h3= t('posts.new')
%ul
- @site.layouts.to_h.keys.each do |layout|
%li= link_to @site.i18n.dig('layouts', layout.to_s) || layout.to_s.humanize,
new_site_post_path(@site, layout: layout)
- if policy(@site).edit?
= link_to t('sites.edit.btn', site: @site.title),