mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-18 20:36:01 +01:00
Add missing slash to paperclip_path
This commit is contained in:
parent
9c7416efe7
commit
022bdeb159
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue