]> git.openstreetmap.org Git - rails.git/commit
Declare api way relations as nested resources
authorAnton Khorev <tony29@yandex.ru>
Sun, 2 Feb 2025 11:06:12 +0000 (14:06 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sat, 8 Feb 2025 15:22:55 +0000 (18:22 +0300)
commit2a38dca0b780b972ff93b4cae1bc37c1d476dffa
tree936aa15a25447885c80a60393127a70901fa01b0
parenta6e614e44e0735160c8d9ca9e3b43fd295e7e514
Declare api way relations as nested resources
app/abilities/api_ability.rb
app/controllers/api/relations_controller.rb
app/controllers/api/ways/relations_controller.rb [new file with mode: 0644]
app/views/api/relations/relations_for_way.json.jbuilder [deleted file]
app/views/api/relations/relations_for_way.xml.builder [deleted file]
app/views/api/ways/relations/index.json.jbuilder [new file with mode: 0644]
app/views/api/ways/relations/index.xml.builder [new file with mode: 0644]
config/routes.rb
test/controllers/api/relations_controller_test.rb
test/controllers/api/ways/relations_controller_test.rb [new file with mode: 0644]