Add authorization for rescue interface
Change logic for NCCU site for status panel.
This commit is contained in:
1 parent
6059edad70
commit
f1b4d9e204
7 files changed
+10
-8
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user