[openstreetmap/openstreetmap-website] Merge ApiCapability class into ApiAbility (PR #5429)

Anton Khorev notifications at github.com
Fri Dec 20 15:41:31 UTC 2024


@AntonKhorev commented on this pull request.



>      can :read, [:version, :capability, :permission, :map]
 
     if Settings.status != "database_offline"
+      user = (User.find(token.resource_owner_id) if token)

removed parentheses

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5429#discussion_r1894088723
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5429/review/2517814833 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241220/054b11a9/attachment.htm>


More information about the rails-dev mailing list