DannyBen/madness

View on GitHub
app/views/_breadcrumbs.slim

Summary

Maintainability
Test Coverage
- unless breadcrumbs.empty?
  .breadcrumbs
    - breadcrumbs.each do |item|
      - if item.last
        span = item.label
      - else
        a href="#{item.href}" = item.label
        = " / "