about summary refs log tree commit diff
path: root/app/helpers
diff options
context:
space:
mode:
authornightpool <eg1290@gmail.com>2017-08-17 17:20:50 -0400
committerEugen Rochko <eugen@zeonfederated.com>2017-08-17 23:20:50 +0200
commitefec02f1538adc7f75ba9ca3716ea25b3f2ef4df (patch)
treec6b98bc3d0cfca8e225f796a2f8b22e70d13d3fa /app/helpers
parent116b8a63633cfdff83582f1cc40559c2e3c2ae80 (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.rb14
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