now should be saving to the directory without the wrong id in the name
This commit is contained in:
parent
031234f763
commit
f866872d7a
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ class ImageUploader < CarrierWave::Uploader::Base
|
|||
storage :grid_fs
|
||||
|
||||
def store_dir
|
||||
"files/#{model.id}"
|
||||
"files"
|
||||
end
|
||||
|
||||
def extension_white_list
|
||||
|
|
|
|||
Loading…
Reference in a new issue