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-0.3.2 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.3.1 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.3.0 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.2.11 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.2.9 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml
orange-0.2.8 lib/orange-more/sitemap/views/sitemap/breadcrumb.haml