use existing inflections instead of custom helper (#4624)
* use existing inflections instead of custom helper * use ActiveSupport versions
This commit is contained in:
parent
116b8a6363
commit
efec02f153
4 changed files with 2 additions and 46 deletions
|
@ -6,7 +6,7 @@
|
|||
= link_to account.domain, admin_accounts_path(by_domain: account.domain)
|
||||
%td.protocol
|
||||
- unless account.local?
|
||||
= protocol_for_display(account.protocol)
|
||||
= account.protocol.humanize
|
||||
%td.confirmed
|
||||
- if account.local?
|
||||
- if account.user_confirmed?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue