View Source Bonfire.Files.Acts.URLPreviews (bonfire_umbrella v0.9.10-cooperation-beta.36)

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