]> git.openstreetmap.org Git - rails.git/commit
Standardise on avoiding except lists for check_api_readable
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 29 May 2024 13:33:20 +0000 (14:33 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 29 May 2024 13:51:47 +0000 (14:51 +0100)
commitf2aaec4735d70868edf7aaa60ec2b1c64194cac3
tree3d62cc9a69c997d7ad4191bf2e1f5b613edfac28
parent995bfa91ff353e60db66139fc566d88435d3723e
Standardise on avoiding except lists for check_api_readable

Although this is technically duplicative, it's much easier to read
and therefore to maintain, particularly if you put the _readable one
first.
app/controllers/api/changeset_comments_controller.rb
app/controllers/api/changesets_controller.rb
app/controllers/api/nodes_controller.rb
app/controllers/api/relations_controller.rb
app/controllers/api/traces_controller.rb
app/controllers/api/ways_controller.rb