fix for loading failed

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-07-27 05:45:39 +08:00
1 parent de831f1f96
commit eed7b78357
1 file changed
+1 -1
@@ -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