]> cat aescling's git repositories - mastodon.git/commit
Fix error when rendering public pages with media attachments (#16763)
authorClaire <claire.github-309c@sitedethib.com>
Wed, 13 Oct 2021 13:27:19 +0000 (15:27 +0200)
committerGitHub <noreply@github.com>
Wed, 13 Oct 2021 13:27:19 +0000 (15:27 +0200)
commit5159ba26e485daaeded2288c1b02bd1e516e1ca6
tree409023bc5a521a321205265d9c1d8fd6d3eb3273
parent8818622feb9454684e51cd9b977b967883779432
Fix error when rendering public pages with media attachments (#16763)

* Add tests

* Fix error when rendering public pages with media attachments

* Add tests

* Fix tests

* Please CodeClimate
app/controllers/media_controller.rb
app/models/media_attachment.rb
spec/controllers/media_controller_spec.rb
spec/models/media_attachment_spec.rb
spec/views/statuses/show.html.haml_spec.rb