[openstreetmap/openstreetmap-website] Simplify calls to api_message_path helper (PR #5424)

Anton Khorev notifications at github.com
Fri Dec 20 03:13:11 UTC 2024


Mostly changes
```
api_message_path(:id => msg.id)
```
to
```
api_message_path(msg)
```
in tests.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5424

-- Commit Summary --

  * Simplify calls to api_message_path helper

-- File Changes --

    M test/controllers/api/messages_controller_test.rb (34)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5424.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5424.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/5424 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241219/631e2cb5/attachment-0001.htm>


More information about the rails-dev mailing list