Adding media controller, 1 webm/compose form allowed, previews generated
This commit is contained in:
parent
183a23943b
commit
bd5ad304ba
7 changed files with 42 additions and 6 deletions
|
@ -1,4 +1,5 @@
|
|||
object @media
|
||||
attribute :id
|
||||
attribute :id, :type
|
||||
node(:url) { |media| full_asset_url(media.file.url) }
|
||||
node(:preview_url) { |media| full_asset_url(media.file.url(:small)) }
|
||||
node(:text_url) { |media| medium_url(media) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue