]> cat aescling's git repositories - mastodon.git/commitdiff
Fix typo in Admin::DashboardController#index
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 15 Jul 2018 23:58:10 +0000 (01:58 +0200)
committerGitHub <noreply@github.com>
Sun, 15 Jul 2018 23:58:10 +0000 (01:58 +0200)
app/controllers/admin/dashboard_controller.rb

index 01d4a98475b4b799d65f10dc30b2de7ac57b141c..af1ac7b5e950e802dd1bbc1b7cd0a7fbe8aa20fc 100644 (file)
@@ -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