diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-04-12 10:12:42 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-12 16:12:42 +0200 |
commit | dd1ae3b10924ca239daa17ce2fe739f790e6f96d (patch) | |
tree | 28f3b8ee56bde264236fb3e01c059f1dc7bfa0a5 /app/controllers | |
parent | b352a8e5d4f3dba4b923a2a21dc9ae5343e7e8e4 (diff) |
Simplify the way the embed view is created (#1590)
* Add coverage for embedded status view * Refactor embed view to eliminate @external_links variable
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/stream_entries_controller.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/stream_entries_controller.rb b/app/controllers/stream_entries_controller.rb index 469a8c33e..a9ee73500 100644 --- a/app/controllers/stream_entries_controller.rb +++ b/app/controllers/stream_entries_controller.rb @@ -27,8 +27,6 @@ class StreamEntriesController < ApplicationController def embed response.headers['X-Frame-Options'] = 'ALLOWALL' - @external_links = true - return gone if @stream_entry.activity.nil? render layout: 'embedded' |