[openstreetmap/openstreetmap-website] Rename browse controller to features/queries controller (PR #5024)

Anton Khorev notifications at github.com
Fri Jul 26 16:01:35 UTC 2024


Version 2 of #4616.

`BrowseController` only did feature queries. #4616 renamed it to `QueriesController` but that wasn't entirely ok becouse it didn't tell what was queried.

Here I'm renaming it to `Features::QueriesController`.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Rename browse controller to features/queries controller

-- File Changes --

    M app/abilities/ability.rb (2)
    D app/controllers/browse_controller.rb (13)
    A app/controllers/features/queries_controller.rb (15)
    R app/views/features/queries/show.html.erb (0)
    M config/locales/en.yml (12)
    M config/routes.rb (4)
    D test/controllers/browse_controller_test.rb (18)
    A test/controllers/features/queries_controller_test.rb (20)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list