use existing inflections instead of custom helper (#4624)

* use existing inflections instead of custom helper

* use ActiveSupport versions
This commit is contained in:
nightpool 2017-08-17 17:20:50 -04:00 committed by Eugen Rochko
parent 116b8a6363
commit efec02f153
4 changed files with 2 additions and 46 deletions

View file

@ -33,7 +33,7 @@
%td= link_to @account.url, @account.url
%tr
%th= t('admin.accounts.protocol')
%td= protocol_for_display(@account.protocol)
%td= @account.protocol.humanize
- if @account.ostatus?
%tr