]> git.openstreetmap.org Git - rails.git/commit
Add show user block api endpoint
authorAnton Khorev <tony29@yandex.ru>
Fri, 8 Sep 2023 12:25:15 +0000 (15:25 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sat, 9 Sep 2023 12:53:22 +0000 (15:53 +0300)
commit71654e563ebe04856b931a7ad62a2f4bf2a04c65
tree073b58b0635ec39c13473ab8e6e29547d4c3d61e
parent0e21afc56593eb9fce14d8cfe0984494e758c150
Add show user block api endpoint
app/abilities/api_ability.rb
app/controllers/api/user_blocks_controller.rb [new file with mode: 0644]
app/views/api/user_blocks/_user_block.xml.builder [new file with mode: 0644]
app/views/api/user_blocks/show.xml.builder [new file with mode: 0644]
config/routes.rb
test/controllers/api/user_blocks_controller_test.rb [new file with mode: 0644]