app/navigations/comable/admin/application.rb in comable-backend-0.7.0.beta2 vs app/navigations/comable/admin/application.rb in comable-backend-0.7.0
- old
+ new
@@ -11,11 +11,11 @@
link comable.admin_root_path
icon 'dashboard'
end
item Comable.t('admin.nav.order') do
- link comable.admin_orders_path
+ nest :orders
icon 'shopping-cart'
end
item Comable.t('admin.nav.product') do
nest :products
@@ -38,9 +38,21 @@
flex_divider
item current_comable_user.email do
nest :profile
icon 'gift'
+ end
+ end
+
+ navigation :orders do
+ brand Comable.t('admin.nav.order')
+
+ item Comable.t('admin.nav.order') do
+ link comable.admin_orders_path
+ end
+
+ item Comable.t('admin.nav.draft_order') do
+ link comable.admin_draft_orders_path
end
end
navigation :products do
brand Comable.t('admin.nav.product')