app/views/cm_admin/main/_tabs.html.slim in cm-admin-1.1.8 vs app/views/cm_admin/main/_tabs.html.slim in cm-admin-1.1.9
- old
+ new
@@ -1,5 +1,5 @@
-ul.nav.nav-pills
+ul.tabs
- @model.available_tabs.each do |nav_item|
- if nav_item.display_if.call(@ar_object)
- if nav_item.custom_action.empty? || (nav_item.custom_action.present? && policy([:cm_admin, @model.name.classify.constantize]).send(:"#{nav_item.custom_action}?"))
li.nav-item
- nav_item_action_name = nav_item.custom_action.present? ? nav_item.custom_action : 'show'
\ No newline at end of file