side bar for calendar fixed.

This commit is contained in:
Harry Bomrah 2013-11-04 16:07:49 +08:00 committed by saurabhbhatia
parent 7ad05ef034
commit 3db075b9d2
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ module CalendarNew
side_bar do
head_label_i18n 'calendar.calendar',:icon_class=>"icons-calendar"
available_for [:admin,:guest,:manager,:sub_manager]
active_for_controllers ({:private=>['events'],:public=>['panel/calendar_new/back_end/tags']})
active_for_controllers ({:private=>['events','event_categories'],:public=>['panel/calendar_new/back_end/tags']})
head_link_path "panel_calendar_new_back_end_events_path"
@ -42,7 +42,7 @@ module CalendarNew
context_link 'calendar.categories',
:link_path=>"panel_calendar_new_back_end_event_categories_path" ,
:priority=>3,
:active_for_tag => 'CalendarNew',
:active_for_category => 'CalendarNew',
:available_for => [:manager]
end
end