diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 5267489e87..5037bbe8a6 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -61,7 +61,7 @@ class ApplicationController < ActionController::Base end def single_user_mode? - @single_user_mode ||= Rails.configuration.x.single_user_mode && Account.any? + @single_user_mode ||= Rails.configuration.x.single_user_mode && Account.exists? end def current_account