Project

General

Profile

Adding another folder for attachments

Added by Evgeniy Barkovskiy over 12 years ago

Hello!
I want to add additional folder for attached files. Some files will go to existed folder ("Files"), some files will go to new folder ("New"). Can I somehow extend attachment.rb (model) and add additional patch (like #{RAILS_ROOT}/new/)? Can I use hook for this?
Please, help newbie!