Update sidebar order.

This commit is contained in:
邱博亞 2024-08-23 23:07:14 +08:00
parent 6069591060
commit 64a046c6e8
1 changed files with 6 additions and 5 deletions

View File

@ -12,12 +12,13 @@ module HncCancerPredict
set_keyword_contstraints ['hnc_cancer_predictResult']
frontend_enabled
side_bar do
head_label_i18n 'hnc_cancer_predict.hnc_cancer_predict', icon_class: "icons-megaphone"
available_for "users"
active_for_controllers (['admin/hnc_cancer_predicts'])
head_link_path "admin_hnc_cancer_predicts_path"
head_label_i18n 'hnc_cancer_predict.hnc_cancer_predict', icon_class: "icons-tools"
available_for "users"
active_for_controllers (['admin/hnc_cancer_predicts'])
head_link_path "admin_hnc_cancer_predicts_path"
set_sidebar_order -7
context_link 'hnc_cancer_predict.hnc_cancer_predict',
context_link 'hnc_cancer_predict.hnc_cancer_predict',
:link_path=>"admin_hnc_cancer_predicts_path" ,
:priority=>1,
:active_for_action=>{'admin/hnc_cancer_predicts'=>'index'},