mods for calendar
This commit is contained in:
parent
a979bedac8
commit
37e58c00d0
|
@ -11,6 +11,13 @@ class CalendarsController < ApplicationController
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def widget
|
||||||
|
part = OrbitHelper.get_current_widget
|
||||||
|
{
|
||||||
|
"extras" => {"subpart-id"=>part.id.to_s}
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
def events
|
def events
|
||||||
page = Page.find_by(:page_id => params[:page_id]) rescue nil
|
page = Page.find_by(:page_id => params[:page_id]) rescue nil
|
||||||
events =[]
|
events =[]
|
||||||
|
|
Loading…
Reference in New Issue