View Source Bonfire.Files.Acts.AttachMedia (Bonfire v0.9.10-cooperation-beta.108)

Saves uploaded files as attachments to the post.

Act Options:

  • :changeset - key in assigns to find changeset, required
  • :attrs - epic options key to find the attributes at, default: :post_attrs.
  • :uploads - epic options key to find the uploaded media objects at, default: :uploaded_media.

Summary

Functions