Move view logic from StatusController.context to StatusView and add a test
authorEgor Kislitsyn <egor@kislitsyn.com>
Thu, 26 Sep 2019 07:28:35 +0000 (14:28 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Fri, 27 Sep 2019 03:52:47 +0000 (10:52 +0700)
commit5ea5c58a85b7be56370b151ce8977982d47fde8c
treea48af9bf72549d691386ca01f0be3f1ca8db4926
parent76b7e5cd5b34e68055bab7353cb845f3429d897f
Move view logic from StatusController.context to StatusView and add a test
lib/pleroma/web/mastodon_api/controllers/status_controller.ex
lib/pleroma/web/mastodon_api/views/status_view.ex
test/web/mastodon_api/controllers/status_controller_test.exs