fix for loading failed

This commit is contained in:
Matthew K. Fu JuYuan 2012-07-27 05:45:39 +08:00
parent de831f1f96
commit eed7b78357
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ class Panel::PageContent::FrontEnd::PageContextsController < OrbitWidgetControll
def index
# @page_context = PageContext.where("page_id" => params[:page_id], :archived => false)
@page_context = PageContext.first(conditions: { page_id: params[:page_id], :archived => false })
impressionist(@page_context)
#impressionist(@page_context)
respond_to do |format|
format.html # index.html.erb