fixes in sitemap, site preference

This commit is contained in:
saurabhbhatia committed 2013-10-14 16:48:50 +08:00
1 parent ae66e7257f
commit 4120be6f8e
7 files changed
+21 -21

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ class PagesController < ApplicationController
end
def check_frontend_open
if !Site.first.frontend_closed && current_user.nil? #Need to be change
if Site.first.frontend_open && current_user.nil? #Need to be change
redirect_to '/admin/dashboards'
end
end