ruby on rails - Carrierwave gem is not working in Redmine v 2.x Plugin -
I single ???? Using carrier wave gem in a redmine plugin. But it is not working because it works in a simple rail app. For example, in my uploader category, there is a file_uploader.rb file in my uploaders directory that contains the following code.
class FileUploader & lt; CarrierWave :: Uploader :: Base Storage: file def store_dir "boxelements / # {model.class.to_s.underscore} / # {model.id} / # {mounted_as}" and end
Please take the uploaders into the main app directory of redmine.
Comments
Post a Comment