Update sidebar order.

This commit is contained in:
邱博亞 2024-08-23 23:04:00 +08:00
parent 0fdbf08f9e
commit 5acc13d76d
1 changed files with 6 additions and 5 deletions

View File

@ -12,12 +12,13 @@ module Cancerpredict
set_keyword_contstraints ['cancerpredictResult']
frontend_enabled
side_bar do
head_label_i18n 'cancerpredict.cancerpredict', icon_class: "icons-megaphone"
available_for "users"
active_for_controllers (['admin/cancerpredicts'])
head_link_path "admin_cancerpredicts_path"
head_label_i18n 'cancerpredict.cancerpredict', icon_class: "icons-tools"
available_for "users"
active_for_controllers (['admin/cancerpredicts'])
head_link_path "admin_cancerpredicts_path"
set_sidebar_order -10
context_link 'cancerpredict.cancerpredict',
context_link 'cancerpredict.cancerpredict',
:link_path=>"admin_cancerpredicts_path" ,
:priority=>1,
:active_for_action=>{'admin/cancerpredicts'=>'index'},