@nenad-vujicic commented on this pull request.
> @@ -379,17 +382,30 @@ def bbox_condition(notes)
end
end
+ ##
+ # Get author's information (for logged in users - user_id, for logged out
users - IP address)
+ def author_info
+ author = current_user if scope_enabled?(:write_notes)
Fixed (and pushed)! Thanks!
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5650#discussion_r1952355899
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/5650/review/2611432...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev