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

Merge branch 'issue-5085' into 'rails'

fix: ordenar layouts alfabéticamente #5085

See merge request sutty/sutty!138
This commit is contained in:
fauno 2023-04-10 15:19:27 +00:00
commit 040120579c

View file

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