From 2de03c694f839cb012061378e80d0bea5c118590 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 4 Nov 2013 16:07:49 +0800 Subject: [PATCH] side bar for calendar fixed. --- vendor/built_in_modules/calendar_new/init.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/built_in_modules/calendar_new/init.rb b/vendor/built_in_modules/calendar_new/init.rb index c738ef515..b95f9d458 100644 --- a/vendor/built_in_modules/calendar_new/init.rb +++ b/vendor/built_in_modules/calendar_new/init.rb @@ -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