From 022bdeb15960f7e50a082b6fe7b1ba12d7e6cfc7 Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sun, 3 Jul 2022 14:39:00 +0200 Subject: [PATCH] Add missing slash to `paperclip_path` --- app/uploaders/base_uploader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/uploaders/base_uploader.rb b/app/uploaders/base_uploader.rb index 8aac8b85..5a39eb5d 100644 --- a/app/uploaders/base_uploader.rb +++ b/app/uploaders/base_uploader.rb @@ -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