Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Crash with simple_navigation 4.0.3 #13

Description

@yld

undefined method `html_options=' for #SimpleNavigation::Item:0x000000055acf30

NoMethodError - undefined method `html_options=' for #<SimpleNavigation::Item:0x000000055acf30>:
  simple-navigation-bootstrap (1.0.0) lib/simple_navigation/rendering/renderer/bootstrap.rb:55:in `tag_for'
  simple-navigation-bootstrap (1.0.0) lib/simple_navigation/rendering/renderer/bootstrap.rb:11:in `block in render'
  simple-navigation-bootstrap (1.0.0) lib/simple_navigation/rendering/renderer/bootstrap.rb:7:in `render'
  simple-navigation (4.0.3) lib/simple_navigation/item_container.rb:103:in `render'
  simple-navigation (4.0.3) lib/simple_navigation/helpers.rb:88:in `render_navigation'
  actionpack (4.2.1) lib/abstract_controller/helpers.rb:67:in `render_navigation'
app/views/application/_header.html.haml:14:in `_app_views_application__header_html_haml___3547199929432777363_108950520'
(...)

The code in _header.html.haml just calls a standard renderer:

= render_navigation expand_all: true, level: 1..2, renderer: :bootstrap

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions