redactor-rails icon indicating copy to clipboard operation
redactor-rails copied to clipboard

How to use different uploaders

Open agis opened this issue 13 years ago • 0 comments

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?

agis avatar Feb 18 '13 12:02 agis