summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-23 20:45:22 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-23 20:45:22 +0200
commit87f3403dfcfa008070f69fe588e1e108c001fe27 (patch)
tree2a1af10cc692a72de21dc6c3108e2be5b0067e23 /app/helpers
parentf0745de7f661a27b4d20d2ba317d1b31bf9a6c4b (diff)
Restyle pdf headline cards
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/content_helper.rb4
1 files changed, 4 insertions, 0 deletions
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
75 end 75 end
76 end 76 end
77 77
78 def humanized_asset_name asset
79 asset.name.to_s.tr("_", " ")
80 end
81
78 # This method is an output filter for templates. It accepts any kind of text 82 # This method is an output filter for templates. It accepts any kind of text
79 # and checks for an [aggregate short code within it. If such a code is found, 83 # and checks for an [aggregate short code within it. If such a code is found,
80 # its # attributes are parsed and converted into parameters for the 84 # its # attributes are parsed and converted into parameters for the