Extract domain blocks actions from `MastodonAPIController` to `DomainBlockController`
authorEgor Kislitsyn <egor@kislitsyn.com>
Fri, 27 Sep 2019 07:28:05 +0000 (14:28 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Fri, 27 Sep 2019 07:28:05 +0000 (14:28 +0700)
commit408750b94e1374c815c80a1060892231f40b54fb
treeaacbc34704f2739eb873aa593bb8e8d510bfc842
parenta83c116df7527b9ae05b73f5ec5da69c0f123e04
Extract domain blocks actions from `MastodonAPIController` to `DomainBlockController`
lib/pleroma/web/mastodon_api/controllers/domain_block_controller.ex [new file with mode: 0644]
lib/pleroma/web/mastodon_api/controllers/mastodon_api_controller.ex
lib/pleroma/web/router.ex
test/web/mastodon_api/controllers/domain_block_controller_test.exs [new file with mode: 0644]
test/web/mastodon_api/mastodon_api_controller_test.exs