How to use this bundle with Sonata media bundle
pmiroslawski opened this issue · 0 comments
pmiroslawski commented
Add action was simple. I use a temporary path of this bundle, and next, I'm using forach loop (for existing files) and adding it as Media in specific context.
But how to make an edit action? Sonata Media Bundle has own target dir variable. So how to setup symfony2-file-uploader-bundle to use own temporary path and this one, defined by sonata-media-bundle.
What is the best/fastest way to get to work this two awesome bundles?