Extract media actions from `MastodonAPIController` to `MediaController`
authorEgor Kislitsyn <egor@kislitsyn.com>
Tue, 1 Oct 2019 07:36:35 +0000 (14:36 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Tue, 1 Oct 2019 07:36:35 +0000 (14:36 +0700)
commit585bc57edbe10dcd19d2294824e0a0600f4bfe4c
tree9927b795fe0473ac8ead0692c40408d8d0d3292e
parentf0b4ba1bf9023c4300e1e67aa4666f05cab8409e
Extract media actions from `MastodonAPIController` to `MediaController`
lib/pleroma/web/mastodon_api/controllers/mastodon_api_controller.ex
lib/pleroma/web/mastodon_api/controllers/media_controller.ex [new file with mode: 0644]
lib/pleroma/web/router.ex
test/web/mastodon_api/controllers/media_controller_test.exs [new file with mode: 0644]
test/web/mastodon_api/mastodon_api_controller_test.exs