app/views/admin/shared/_breadcrumbs.html.slim in ab_admin-0.3.5 vs app/views/admin/shared/_breadcrumbs.html.slim in ab_admin-0.3.6

- old
+ new

@@ -1,7 +1,6 @@ - if @breadcrumbs.present? - ul.breadcrumb - - @breadcrumbs[0..-2].each do |crumb| - li - = link_to crumb[:name], crumb[:url], crumb[:options] - span.divider  /  - li.active= link_to @breadcrumbs.last[:name], @breadcrumbs.last[:url], @breadcrumbs.last[:options] + - @breadcrumbs[0..-2].each do |crumb| + li + = link_to crumb[:name], crumb[:url], crumb[:options] + span.divider  /  + li.active= link_to [@breadcrumbs.last[:name] || @breadcrumbs.last[:url], @page_title].join(' - '), @breadcrumbs.last[:url], @breadcrumbs.last[:options] \ No newline at end of file