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

Popular posts from this blog

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

sql - PostgreSQL automatically update row at specific date -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -