Class: Wallaby::Resources::ActiveStorageHtml
- Inherits:
-
Cell
- Object
- Cell
- Wallaby::Resources::ActiveStorageHtml
- Defined in:
- app/views/wallaby/resources/active_storage_html.rb
Overview
Html cell
Instance Method Summary collapse
Instance Method Details
#render ⇒ String
8 9 10 |
# File 'app/views/wallaby/resources/active_storage_html.rb', line 8 def render value.try(:attachment) ? link_to(value..blob.filename, rails_blob_path(value)) : null end |