Skip to content

Commit

Permalink
humanize admin page tabs tabs titles
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Jan 28, 2024
1 parent d0c6f31 commit d124ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- selected = params[:section] || sections.first.downcase
= render TabsContainerComponent.new(url_parameter: 'section') do |t|
- sections.each do |section_title|
- t.item(title: section_title,
- t.item(title: section_title.humanize,
path: '',
selected: section_title.downcase.eql?(selected.downcase),
page_name: '')
Expand Down

0 comments on commit d124ddc

Please sign in to comment.