Skip to content

Commit

Permalink
Hotfix for map
Browse files Browse the repository at this point in the history
  • Loading branch information
amree committed Aug 13, 2024
1 parent 980ba9d commit 8b14d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
end

direct :rails_public_blob do |blob|
if blob.persisted? && blob.signed_id.nil?
if (blob.persisted? && blob.signed_id.nil?) || blog.key.nil?
""
elsif Rails.env.development? || Rails.env.test?
route_for(:rails_blob, blob)
Expand Down

0 comments on commit 8b14d5d

Please sign in to comment.