Skip to content

Commit

Permalink
fix: Separator in attachment urls (#127)
Browse files Browse the repository at this point in the history
* fix: Remove public true in active storage

* fix: Change separator in CSV
  • Loading branch information
Quentinchampenois authored Dec 6, 2024
1 parent 2b28f6d commit 2069404
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion config/storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ scaleway:
region: fr-par
bucket: <%= Rails.application.secrets.dig(:scaleway, :bucket_name) %>
force_path_style: true
public: true

# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
# amazon:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def serialize
def attachment_urls
proposal.attachments.map do |attc|
Rails.application.routes.url_helpers.rails_blob_url(attc.file.blob, host: proposal.participatory_space.organization.host)
end.join(",")
end.join("\n")
end
end

Expand Down

0 comments on commit 2069404

Please sign in to comment.