Method: EffectiveAssetsHelper#effective_asset_title
- Defined in:
- app/helpers/effective_assets_helper.rb
#effective_asset_title(asset) ⇒ Object
39 40 41 42 43 44 45 |
# File 'app/helpers/effective_assets_helper.rb', line 39 def effective_asset_title(asset) [ asset.title, "Size: #{number_to_human_size(asset.data_size)}", "Content Type: #{asset.content_type}" ].compact.join("\n") end |