summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
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