Extract instance actions from `MastodonAPIController` to `InstanceController`
authorEgor Kislitsyn <egor@kislitsyn.com>
Wed, 2 Oct 2019 07:13:52 +0000 (14:13 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Wed, 2 Oct 2019 07:13:52 +0000 (14:13 +0700)
commitc8b01f6667a9b5b158103de449a7769c9274bcc3
tree6a60b90151329b2a3b7ac288b847358b11ebad5f
parent89ab673d00b4dd96fd29f35d7c355b777b9ec0c7
Extract instance actions from `MastodonAPIController` to `InstanceController`
lib/pleroma/web/mastodon_api/controllers/instance_controller.ex [new file with mode: 0644]
lib/pleroma/web/mastodon_api/controllers/mastodon_api_controller.ex
lib/pleroma/web/mastodon_api/views/instance_view.ex [new file with mode: 0644]
lib/pleroma/web/router.ex
test/web/mastodon_api/controllers/instance_controller_test.exs [new file with mode: 0644]
test/web/mastodon_api/mastodon_api_controller_test.exs