mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
now should be saving to the directory without the wrong id in the name
This commit is contained in:
@@ -4,7 +4,7 @@ class ImageUploader < CarrierWave::Uploader::Base
|
||||
storage :grid_fs
|
||||
|
||||
def store_dir
|
||||
"files/#{model.id}"
|
||||
"files"
|
||||
end
|
||||
|
||||
def extension_white_list
|
||||
|
||||
Reference in New Issue
Block a user