fix for loading failed
This commit is contained in:
parent
de831f1f96
commit
eed7b78357
|
@ -8,7 +8,7 @@ class Panel::PageContent::FrontEnd::PageContextsController < OrbitWidgetControll
|
||||||
def index
|
def index
|
||||||
# @page_context = PageContext.where("page_id" => params[:page_id], :archived => false)
|
# @page_context = PageContext.where("page_id" => params[:page_id], :archived => false)
|
||||||
@page_context = PageContext.first(conditions: { 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|
|
respond_to do |format|
|
||||||
format.html # index.html.erb
|
format.html # index.html.erb
|
||||||
|
|
Reference in New Issue