blob: 00d4fc657adc8c024ef298f2c9fd08c7dd77ab26 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# frozen_string_literal: true
module AccountHelper
def protocol_for_display(protocol)
case protocol
when 'activitypub'
'ActivityPub'
when 'ostatus'
'OStatus'
else
protocol
end
end
end
|