]> git.openstreetmap.org Git - rails.git/commit
Use resourceful routes for api messages in/outbox
authorAnton Khorev <tony29@yandex.ru>
Sun, 22 Dec 2024 03:57:39 +0000 (06:57 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sun, 22 Dec 2024 04:03:41 +0000 (07:03 +0300)
commit45c90003c688988590e91108f2ec64a199050578
tree4b93e50e8f8278158d294fb430cabdeb4e5a6fc8
parent017f7da76f3d59a71c3cca481e0d3a20afe1c046
Use resourceful routes for api messages in/outbox
16 files changed:
.rubocop_todo.yml
app/abilities/api_ability.rb
app/controllers/api/messages/inboxes_controller.rb [new file with mode: 0644]
app/controllers/api/messages/mailboxes_controller.rb [new file with mode: 0644]
app/controllers/api/messages/outboxes_controller.rb [new file with mode: 0644]
app/controllers/api/messages_controller.rb
app/views/api/messages/inbox.json.jbuilder [deleted file]
app/views/api/messages/inbox.xml.builder [deleted file]
app/views/api/messages/mailboxes/show.json.jbuilder [new file with mode: 0644]
app/views/api/messages/mailboxes/show.xml.builder [new file with mode: 0644]
app/views/api/messages/outbox.json.jbuilder [deleted file]
app/views/api/messages/outbox.xml.builder [deleted file]
config/routes.rb
test/controllers/api/messages/inboxes_controller_test.rb [new file with mode: 0644]
test/controllers/api/messages/outboxes_controller_test.rb [new file with mode: 0644]
test/controllers/api/messages_controller_test.rb