Extract suggestions actions from `MastodonAPIController` to `SuggestionController`
authorEgor Kislitsyn <egor@kislitsyn.com>
Tue, 1 Oct 2019 07:45:04 +0000 (14:45 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Tue, 1 Oct 2019 08:07:49 +0000 (15:07 +0700)
commit39695c4436056db0b25cfa5e361630791923df84
treecf26e62ec6a6494bcaf3f8832e61d25881cbc707
parentb4369e7e6837a735c8cbb19c3c131d23fb74a835
Extract suggestions actions from `MastodonAPIController` to `SuggestionController`
lib/pleroma/web/mastodon_api/controllers/mastodon_api_controller.ex
lib/pleroma/web/mastodon_api/controllers/suggestion_controller.ex [new file with mode: 0644]
lib/pleroma/web/router.ex
test/web/mastodon_api/controllers/suggestion_controller_test.exs [new file with mode: 0644]
test/web/mastodon_api/mastodon_api_controller_test.exs