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:
commit
040120579c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue