fix error
This commit is contained in:
parent
cf9c46a543
commit
12e68a6b3b
|
@ -5,7 +5,7 @@ class CalendarsController < ApplicationController
|
|||
|
||||
def index
|
||||
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" => {
|
||||
"page_id" => OrbitHelper.params[:page_id],
|
||||
|
|
Loading…
Reference in New Issue