Quick best practice cleanup of views/helpers (#1546)

* Remove trailing whitespace

* Use query methods instead of explicit .blank? checks
This commit is contained in:
Matt Jankowski 2017-04-12 12:24:18 -04:00 committed by Eugen
commit c44a700252
10 changed files with 16 additions and 19 deletions

View file

@ -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)