5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-15 21:12:19 +00:00

fix: ordenar layouts alfabéticamente #5085

This commit is contained in:
f 2023-03-31 17:39:25 -03:00
parent 3e6288fefe
commit 8c5535c5c7

View file

@ -5,7 +5,7 @@
%h3= t('posts.new')
%table.mb-3
- @site.layouts.each do |layout|
- @site.layouts.sort_by(&:humanized_name).each do |layout|
- next if layout.hidden?
%tr
%th= layout.humanized_name