Sha256: 2a350938339d890ee2f76454476920215f0c5be62b67446e5051aff754a33fee

Contents?: true

Size: 329 Bytes

Versions: 26

Compression:

Stored size: 329 Bytes

Contents

- if model
  %p
    - for a in model.ancestors
      %a{:href => a.full_path}= a.link_text
      >
    %span.here= model.link_text
- else # Possibly a restful route
  %p
    - home = orange[:sitemap].home(packet)
    %a{:href => home.full_path}= home.link_text
    >
    %span.here= packet['route.resource'].to_s.capitalize

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
orange-more-0.6.5 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-more-0.6.4 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-more-0.6.3 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-more-0.6.2 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-more-0.6.0 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-more-0.5.8 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-more-0.5.7 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.5.5 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.5.4 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.5.3 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.5.2 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.5.1 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.4.0 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.3.9 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.3.8 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.3.7 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.3.6 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.3.5 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.3.4 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.3.3 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml