[openstreetmap/openstreetmap-website] Directions resource (PR #5978)

Anton Khorev notifications at github.com
Sun May 4 03:04:41 UTC 2025


- changes the `/directions` route to a resource
- renames the `directions#search` action to a standard `show` action
- removes RuboCop's exception for action names of directions controller
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Create directions resource

-- File Changes --

    M .rubocop.yml (1)
    M app/abilities/ability.rb (2)
    M app/controllers/directions_controller.rb (10)
    R app/views/directions/show.html.erb (0)
    M config/locales/en.yml (2)
    M config/routes.rb (2)
    M test/controllers/directions_controller_test.rb (6)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/5978 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250503/77efc8fc/attachment.htm>


More information about the rails-dev mailing list