Sha256: c180878a48c7eb75cd248b7592202dd7adfdb3bb631532a5fb610bf9065d2d3e

Contents?: true

Size: 317 Bytes

Versions: 4

Compression:

Stored size: 317 Bytes

Contents

:ruby
  Kin::Nav.setup(:test) do |nav|
    nav.add(:home, 'Home').url('/myurl')

    # Items with guard conditions.
    nav.add(:guard_one, 'Guard One').guard(:one)
    nav.add(:guard_two, 'Guard Two').guard(:one)
    nav.add(:guard_three, 'Guard Three').guard(:three)

    nav.add(:not_guarded, 'Not guarded')
  end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
antw-kin-0.3.2 spec/fixture/app/views/nav_specs/_guarded.html.haml
antw-kin-0.3.3 spec/fixture/app/views/nav_specs/_guarded.html.haml
antw-kin-0.4.0 spec/fixture/app/views/nav_specs/_guarded.html.haml
antw-kin-0.4.1 spec/fixture/app/views/nav_specs/_guarded.html.haml