Skip to content
Permalink
Browse files

Show full_text_search status in dashboard

  • Loading branch information...
kyori19 committed May 5, 2019
1 parent d2cfb97 commit ce853ae75407db1889b88aff0db5af75618909e5
Showing with 2 additions and 2 deletions.
  1. +1 −1 app/controllers/admin/dashboard_controller.rb
  2. +1 −1 app/serializers/initial_state_serializer.rb
@@ -13,7 +13,7 @@ def index
@registrations_enabled = Setting.registrations_mode != 'none'
@deletions_enabled = Setting.open_deletion
@invites_enabled = Setting.min_invite_role == 'user'
@search_enabled = Chewy.enabled?
@search_enabled = true
@version = Mastodon::Version.to_s
@database_version = ActiveRecord::Base.connection.execute('SELECT VERSION()').first['version'].match(/\A(?:PostgreSQL |)([^\s]+).*\z/)[1]
@redis_version = redis_info['redis_version']
@@ -13,7 +13,7 @@ def meta
locale: I18n.locale,
domain: Rails.configuration.x.local_domain,
admin: object.admin&.id&.to_s,
search_enabled: Chewy.enabled?,
search_enabled: true,
repository: Mastodon::Version.repository,
source_url: Mastodon::Version.source_url,
version: Mastodon::Version.to_s,

0 comments on commit ce853ae

Please sign in to comment.
You can’t perform that action at this time.