side bar for calendar fixed.
This commit is contained in:
parent
7ad05ef034
commit
3db075b9d2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue