app/views/layouts/admin/_navigation.html.slim in ab_admin-0.2.3 vs app/views/layouts/admin/_navigation.html.slim in ab_admin-0.3.0
- old
+ new
@@ -4,11 +4,11 @@
a.btn.btn-navbar data-target=".nav-collapse" data-toggle="collapse"
span.icon-bar
span.icon-bar
span.icon-bar
a.brand[href=root_path]= AbAdmin.site_name
- .nav-collapse.in.collapse style=("max-height: 626px;")
+ .nav-collapse.in.collapse
= AdminMenu.render(self)
.btn-group.pull-right
a.btn.dropdown-toggle data-toggle="dropdown" href="#"
i.icon-user
@@ -16,10 +16,10 @@
span.caret
ul.dropdown-menu
li
a href=edit_admin_user_path(current_user) = t 'admin.auth.profile'
li.divider
- li= link_to(t('admin.auth.sign_out'), destroy_user_session_path, :method => 'delete')
+ li= link_to(t('admin.auth.sign_out'), destroy_user_session_path, method: 'delete')
= render 'admin/shared/breadcrumbs'
.top_bar.clearfix
.resource_actions