diff --git a/app/controllers/desktop_controller.rb b/app/controllers/desktop_controller.rb index bacfcdc97..299c2a215 100644 --- a/app/controllers/desktop_controller.rb +++ b/app/controllers/desktop_controller.rb @@ -344,7 +344,7 @@ class DesktopController< ApplicationController def check_desktop_open @site = Site.first - if @site.desktop_closed #Need to be change + if !@site.desktop_closed #Need to be change redirect_to '/admin/dashboards' end end