]> cat aescling's git repositories - mastodon.git/commit
Simplify the way the embed view is created (#1590)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Wed, 12 Apr 2017 14:12:42 +0000 (10:12 -0400)
committerEugen <eugen@zeonfederated.com>
Wed, 12 Apr 2017 14:12:42 +0000 (16:12 +0200)
commitdd1ae3b10924ca239daa17ce2fe739f790e6f96d
tree28f3b8ee56bde264236fb3e01c059f1dc7bfa0a5
parentb352a8e5d4f3dba4b923a2a21dc9ae5343e7e8e4
Simplify the way the embed view is created (#1590)

* Add coverage for embedded status view

* Refactor embed view to eliminate @external_links variable
app/controllers/stream_entries_controller.rb
app/helpers/stream_entries_helper.rb
app/views/stream_entries/_detailed_status.html.haml
app/views/stream_entries/_simple_status.html.haml
spec/controllers/stream_entries_controller_spec.rb