redactor-rails
redactor-rails copied to clipboard
How to use different uploaders
I want to store uploaded images in different locations, depending on the view.
This could be done if there's a way to use different model & uploader for each editor instance. Is there a way to do this?
For example, in my app I may have posts & products. These are 2 different type of resources, so each one has their own controller/views/forms etc. I want the images uploaded for a product to be stored in assets/products and those for a post in assets/posts.
Any ideas?