about summary refs log tree commit diff
path: root/app/views/authorize_follow
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-04-12 12:24:18 -0400
committerEugen <eugen@zeonfederated.com>2017-04-12 18:24:18 +0200
commitc44a7002525d6f87dde923971ac7a95a48e9bc4f (patch)
treea47e5c7dbd8555fd216f60f933e1e4f181e0a5a1 /app/views/authorize_follow
parentaa9079838648e9656a1bf8d10151713686e1c0dd (diff)
Quick best practice cleanup of views/helpers (#1546)
* Remove trailing whitespace

* Use query methods instead of explicit .blank? checks
Diffstat (limited to 'app/views/authorize_follow')
-rw-r--r--app/views/authorize_follow/_card.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/authorize_follow/_card.html.haml b/app/views/authorize_follow/_card.html.haml
index eef0bec07..16af9220e 100644
--- a/app/views/authorize_follow/_card.html.haml
+++ b/app/views/authorize_follow/_card.html.haml
@@ -7,5 +7,5 @@
       %strong.emojify= display_name(account)
       %span= "@#{account.acct}"
 
-  - unless account.note.blank?
+  - if account.note?
     .account__header__content.emojify= Formatter.instance.simplified_format(account)