0
0
Fork 0

Display Mastodon version in footer of web UI (#8013)

Fix #7846
This commit is contained in:
Eugen Rochko 2018-07-14 03:56:34 +02:00 committed by GitHub
parent 9b75dee316
commit e709107463
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -14,6 +14,7 @@ class InitialStateSerializer < ActiveModel::Serializer
domain: Rails.configuration.x.local_domain,
admin: object.admin&.id&.to_s,
search_enabled: Chewy.enabled?,
version: Mastodon::Version.to_s,
invites_enabled: Setting.min_invite_role == 'user',
}