side bar for calendar fixed.

This commit is contained in:
Harry Bomrah 2013-11-04 16:07:49 +08:00
parent 39fe8162b1
commit 2de03c694f
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ module CalendarNew
side_bar do side_bar do
head_label_i18n 'calendar.calendar',:icon_class=>"icons-calendar" head_label_i18n 'calendar.calendar',:icon_class=>"icons-calendar"
available_for [:admin,:guest,:manager,:sub_manager] 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" head_link_path "panel_calendar_new_back_end_events_path"
@ -42,7 +42,7 @@ module CalendarNew
context_link 'calendar.categories', context_link 'calendar.categories',
:link_path=>"panel_calendar_new_back_end_event_categories_path" , :link_path=>"panel_calendar_new_back_end_event_categories_path" ,
:priority=>3, :priority=>3,
:active_for_tag => 'CalendarNew', :active_for_category => 'CalendarNew',
:available_for => [:manager] :available_for => [:manager]
end end
end end