diff options
author | nightpool <eg1290@gmail.com> | 2017-08-17 17:20:50 -0400 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-08-17 23:20:50 +0200 |
commit | efec02f1538adc7f75ba9ca3716ea25b3f2ef4df (patch) | |
tree | c6b98bc3d0cfca8e225f796a2f8b22e70d13d3fa /app/helpers | |
parent | 116b8a63633cfdff83582f1cc40559c2e3c2ae80 (diff) |
use existing inflections instead of custom helper (#4624)
* use existing inflections instead of custom helper * use ActiveSupport versions
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/account_helper.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/helpers/account_helper.rb b/app/helpers/account_helper.rb deleted file mode 100644 index 00d4fc657..000000000 --- a/app/helpers/account_helper.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -module AccountHelper - def protocol_for_display(protocol) - case protocol - when 'activitypub' - 'ActivityPub' - when 'ostatus' - 'OStatus' - else - protocol - end - end -end |