fix error
This commit is contained in:
parent
cf9c46a543
commit
12e68a6b3b
|
@ -5,7 +5,7 @@ class CalendarsController < ApplicationController
|
||||||
|
|
||||||
def index
|
def index
|
||||||
page = Page.where(page_id: OrbitHelper.params[:page_id]).first
|
page = Page.where(page_id: OrbitHelper.params[:page_id]).first
|
||||||
style_file = page.layout=='index3' ? 'calendar_widget2' : 'calendar_widget1'
|
style_file = page.layout=='index3' ? '/assets/calendar_widget2' : '/assets/calendar_widget1'
|
||||||
{
|
{
|
||||||
"extras" => {
|
"extras" => {
|
||||||
"page_id" => OrbitHelper.params[:page_id],
|
"page_id" => OrbitHelper.params[:page_id],
|
||||||
|
|
Loading…
Reference in New Issue