Fixed Desktop Openness

This commit is contained in:
saurabhbhatia committed 2013-11-11 17:40:51 +08:00
1 parent 405c2c5a12
commit c575dbd33a
1 file changed
+1 -1
+1 -1
View File
@@ -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