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

Tom Hughes notifications at github.com
Sat Mar 23 11:11:13 UTC 2024


I fine with this in principle, I just wonder what the right name is and I'm not sure that `QueriesController` is it.

I started off thinking it should be singular as `QueryController` which I realise doesn't fit with resourceful naming from using a resource route but then maybe that's the point, that it's not managing a set of resources so shouldn't be a resourceful route?

Then I thought maybe it should be `FeaturesController` because features are the resource that is being queried? At least that's how the UI describes it...

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

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


More information about the rails-dev mailing list