Fixed Desktop Openness
This commit is contained in:
1 parent
405c2c5a12
commit
c575dbd33a
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user