Class: AdminAssistant::PaperclipColumn::View
- Inherits:
-
Column::View
- Object
- Column::View
- AdminAssistant::PaperclipColumn::View
- Defined in:
- lib/admin_assistant/paperclip_column.rb
Instance Attribute Summary
Attributes inherited from Column::View
Instance Method Summary collapse
Methods inherited from Column::View
#check_box_and_hidden_tags, #controller, #custom_template_file_path, #file_option_for_custom_template_render, #initialize, #label, #name, #paperclip?, #sort_possible?, #string, #value
Constructor Details
This class inherits a constructor from AdminAssistant::Column::View
Instance Method Details
#image_html(record) ⇒ Object
16 17 18 |
# File 'lib/admin_assistant/paperclip_column.rb', line 16 def image_html(record) @action_view.image_tag record.send(@column.name).url end |