From 87f3403dfcfa008070f69fe588e1e108c001fe27 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Thu, 23 Jul 2026 20:45:22 +0200 Subject: Restyle pdf headline cards --- app/helpers/content_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/helpers') diff --git a/app/helpers/content_helper.rb b/app/helpers/content_helper.rb index 7a52d9cd..6bb9c4e0 100644 --- a/app/helpers/content_helper.rb +++ b/app/helpers/content_helper.rb @@ -75,6 +75,10 @@ module ContentHelper end end + def humanized_asset_name asset + asset.name.to_s.tr("_", " ") + end + # This method is an output filter for templates. It accepts any kind of text # and checks for an [aggregate short code within it. If such a code is found, # its # attributes are parsed and converted into parameters for the -- cgit v1.3