about summary refs log tree commit diff
path: root/app/views/accounts
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-04-15 21:40:33 -0400
committerEugen <eugen@zeonfederated.com>2017-04-16 03:40:33 +0200
commit3834e1e69b951d5b26768282bf3bd1aae8f45944 (patch)
tree1d795beeef04604fdf73d8c4484990900823a451 /app/views/accounts
parent95bcbaa4340fe54954c2f15300cbc585d4468c8d (diff)
View spec fix (#1888)
* Add option to disable verify partial doubles

* Add show_landing_strip? helper method

* Use show_landing_strip? helper in accounts and stream entries views

* Fix naming in view specs
Diffstat (limited to 'app/views/accounts')
-rw-r--r--app/views/accounts/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml
index 9c4e32e0e..fd7ff9653 100644
--- a/app/views/accounts/show.html.haml
+++ b/app/views/accounts/show.html.haml
@@ -14,7 +14,7 @@
   %meta{ property: 'og:image:height', content: '120' }/
   %meta{ property: 'twitter:card', content: 'summary' }/
 
-- if !user_signed_in? && !single_user_mode?
+- if show_landing_strip?
   = render partial: 'shared/landing_strip', locals: { account: @account }
 
 .h-feed