]> cat aescling's git repositories - mastodon.git/blob - config/initializers/inflections.rb
Add a nodeinfo endpoint (#12002)
[mastodon.git] / config / initializers / inflections.rb
1 # Be sure to restart your server when you modify this file.
2
3 # Add new inflection rules using the following format. Inflections
4 # are locale specific, and you may define rules for as many different
5 # locales as you wish. All of these examples are active by default:
6 # ActiveSupport::Inflector.inflections(:en) do |inflect|
7 # inflect.plural /^(ox)$/i, '\1en'
8 # inflect.singular /^(ox)en/i, '\1'
9 # inflect.irregular 'person', 'people'
10 # inflect.uncountable %w( fish sheep )
11 # end
12
13 ActiveSupport::Inflector.inflections(:en) do |inflect|
14 inflect.acronym 'StatsD'
15 inflect.acronym 'OEmbed'
16 inflect.acronym 'OStatus'
17 inflect.acronym 'ActivityPub'
18 inflect.acronym 'PubSubHubbub'
19 inflect.acronym 'ActivityStreams'
20 inflect.acronym 'JsonLd'
21 inflect.acronym 'NodeInfo'
22 end
This page took 0.099179 seconds and 4 git commands to generate.