mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 04:26:03 +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
|
end
|
||||||
|
|
||||||
def paperclip_path
|
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"
|
"users/:attachment/:id_partition/:style/:basename.:extension"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue