about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-07-16 01:58:10 +0200
committerGitHub <noreply@github.com>2018-07-16 01:58:10 +0200
commit04587116bd9965125cd0ec34261ea307e23aa357 (patch)
treefa599d21640a6d42bbbdb1dfc5b8831c32b54075 /app
parent2354b10eb5e9c7382726bc5e6e041ea30a903c90 (diff)
Fix typo in Admin::DashboardController#index
Diffstat (limited to 'app')
-rw-r--r--app/controllers/admin/dashboard_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/dashboard_controller.rb b/app/controllers/admin/dashboard_controller.rb
index 01d4a9847..af1ac7b5e 100644
--- a/app/controllers/admin/dashboard_controller.rb
+++ b/app/controllers/admin/dashboard_controller.rb
@@ -11,7 +11,7 @@ module Admin
       @relay_enabled         = Relay.enabled.exists?
       @single_user_mode      = Rails.configuration.x.single_user_mode
       @registrations_enabled = Setting.open_registrations
-      @deletions_enabled     = Setting.open_deletions
+      @deletions_enabled     = Setting.open_deletion
       @invites_enabled       = Setting.min_invite_role == 'user'
       @search_enabled        = Chewy.enabled?
       @version               = Mastodon::Version.to_s