vigetlabs/nav_lynx

:url_segment isn't working

Opened this issue · 0 comments

This is my current implementation:

<!-- about -->
  <%= nav_link_to about_path, {}, {:wrapper => 'span'} do %>
    <h5>About</h5>
      <div class="subnav">
        <%= nav_link_to "Story", about_story_path, {}, {:url_segment => 1} %>
      </div>
  <% end -%>
<!-- /about -->

Clicking on the "About" URL yields the expected behavior, but clicking on "Story" does not. Am i missing something? I realize this is a fairly clumsy implementation, but it's fairly close to the category example on the homepage. Any thoughts?