[openstreetmap/openstreetmap-website] Adds optional use of notes records (PR #5511)
Nenad Vujicic
notifications at github.com
Mon Jan 20 10:25:46 UTC 2025
@nenad-vujicic commented on this pull request.
> def author_id
- comments.first.author_id
+ if user_ip.nil? && user_id.nil?
+ comments.first.author_id
+ else
+ user_id
+ end
end
The latest push should fix this. Thanks!
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5511#discussion_r1922162897
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5511/review/2561977356 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250120/ba88f52a/attachment.htm>
More information about the rails-dev
mailing list