Add authorization for rescue interface

Change logic for NCCU site for status panel.
This commit is contained in:
Matthew K. Fu JuYuan committed 2012-08-12 23:29:13 +08:00
1 parent 6059edad70
commit f1b4d9e204
7 files changed
+10 -8

No files matched your search

-1
View File
@@ -16,7 +16,6 @@ class PagesController < ApplicationController
def show
#begin
@item = Item.first(:conditions => {:path => params[:page_name]})
if @item && @item.is_published #&& (@item.enabled_for.nil? ? true : @item.enabled_for.include?(I18n.locale.to_s))
impressionist(@item)