Add missing slash to `paperclip_path`
This commit is contained in:
parent
9c7416efe7
commit
022bdeb159
|
@ -16,7 +16,7 @@ class BaseUploader < CarrierWave::Uploader::Base
|
|||
end
|
||||
|
||||
def paperclip_path
|
||||
return "system/users/:attachment/:id_partition/:style/:basename.:extension" if APP_CONFIG["fog"].blank?
|
||||
return "/system/users/:attachment/:id_partition/:style/:basename.:extension" if APP_CONFIG["fog"].blank?
|
||||
|
||||
"users/:attachment/:id_partition/:style/:basename.:extension"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue