Fix typo in Admin::DashboardController#index

This commit is contained in:
Eugen Rochko 2018-07-16 01:58:10 +02:00 committed by GitHub
parent 2354b10eb5
commit 04587116bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ module Admin
@relay_enabled = Relay.enabled.exists? @relay_enabled = Relay.enabled.exists?
@single_user_mode = Rails.configuration.x.single_user_mode @single_user_mode = Rails.configuration.x.single_user_mode
@registrations_enabled = Setting.open_registrations @registrations_enabled = Setting.open_registrations
@deletions_enabled = Setting.open_deletions @deletions_enabled = Setting.open_deletion
@invites_enabled = Setting.min_invite_role == 'user' @invites_enabled = Setting.min_invite_role == 'user'
@search_enabled = Chewy.enabled? @search_enabled = Chewy.enabled?
@version = Mastodon::Version.to_s @version = Mastodon::Version.to_s