Fixed Desktop Openness

This commit is contained in:
saurabhbhatia 2013-11-11 17:40:51 +08:00
parent 405c2c5a12
commit c575dbd33a
1 changed files with 1 additions and 1 deletions

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