Don't render index on Unit actions

This commit is contained in:
2024-12-22 01:31:14 +01:00
parent d726e92445
commit 0659c1e1c1
6 changed files with 16 additions and 10 deletions

View File

@@ -123,7 +123,7 @@ module ApplicationHelper
def render_no_items
tag.tr id: :no_items do
tag.td t('.no_items'), colspan: 10, class: 'hint'
tag.td t("#{controller_name}.no_items"), colspan: 10, class: 'hint'
end
end