diff --git a/app/controllers/calendars_controller.rb b/app/controllers/calendars_controller.rb index f0e29c8..330dc1b 100644 --- a/app/controllers/calendars_controller.rb +++ b/app/controllers/calendars_controller.rb @@ -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],