UI for uploading media attachments (and cancelling them)

Mostly resolves #8, though attachments are still not displayed in public view
This commit is contained in:
Eugen Rochko
2016-09-07 18:17:15 +02:00
parent 1efa8e48d1
commit 499beb4484
12 changed files with 222 additions and 18 deletions

View File

@ -1,3 +1,4 @@
object @media
attribute :id
node(:url) { |media| full_asset_url(media.file.url) }
node(:preview_url) { |media| full_asset_url(media.file.url(:small)) }