View Source Bonfire.Files.Acts.URLPreviews (Bonfire v0.9.10-classic-beta.169)

Fetch and save metadata of URLs

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: :urls.

Summary

Functions

Link to this function

maybe_fetch_and_save(current_user, url, opts \\ [])

View Source