Skip to content

Commit

Permalink
Omit local_root parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
icarito committed Jun 30, 2021
1 parent 69d0240 commit 8406611
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/initializers/paperclip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#Paperclip::Attachment.default_options[:path] = "public/system" # this is set by paperclip already
Paperclip::Attachment.default_options[:fog_credentials] = {
provider: ENV["FOG_PROVIDER"] || "Local",
local_root: "#{Rails.root}/public",
google_storage_access_key_id: ENV["GOOGLE_STORAGE_KEY"] || '' ,
google_storage_secret_access_key: ENV["GOOGLE_STORAGE_SECRET"] || ''
}
Expand Down

0 comments on commit 8406611

Please sign in to comment.