Clean up ReactController

This commit is contained in:
Alex Gleason
2019-11-17 21:30:54 -06:00
parent b3bdddf374
commit a925509384
2 changed files with 1 additions and 13 deletions

View File

@@ -22,7 +22,7 @@
= render 'tags/meta', tag: @tag, initial_state_json: @initial_state_json
- elsif @stream_entry && @account
= render 'stream_entries/meta', stream_entry: @stream_entry, account: @account
- elsif @account
- elsif @account && @account.local?
= render 'accounts/meta', account: @account, older_url: nil, newer_url: nil
%title= content_for?(:page_title) ? safe_join([yield(:page_title).chomp.html_safe, title], ' - ') : title