Fixed Desktop Openness
This commit is contained in:
parent
405c2c5a12
commit
c575dbd33a
|
@ -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