Module: Dorsale::Alexandrie::AttachmentsHelper
- Included in:
- Dorsale::AllHelpers
- Defined in:
- app/helpers/dorsale/alexandrie/attachments_helper.rb
Instance Method Summary collapse
- #attachment_form_for(attachable) ⇒ Object
- #attachments_for(attachable) ⇒ Object
- #attachments_list_for(attachable) ⇒ Object
Instance Method Details
#attachment_form_for(attachable) ⇒ Object
4 5 6 |
# File 'app/helpers/dorsale/alexandrie/attachments_helper.rb', line 4 def (attachable) render "dorsale/alexandrie/attachments/form", attachable: attachable end |
#attachments_for(attachable) ⇒ Object
12 13 14 |
# File 'app/helpers/dorsale/alexandrie/attachments_helper.rb', line 12 def (attachable) render "dorsale/alexandrie/attachments/form_and_list", attachable: attachable end |
#attachments_list_for(attachable) ⇒ Object
8 9 10 |
# File 'app/helpers/dorsale/alexandrie/attachments_helper.rb', line 8 def (attachable) render "dorsale/alexandrie/attachments/list", attachable: attachable end |