simple-navigation icon indicating copy to clipboard operation
simple-navigation copied to clipboard

A ruby gem for creating navigations (with multiple levels) for your Rails, Sinatra or Padrino applications. Render your navigation as html list, link list or breadcrumbs.

Results 13 simple-navigation issues
Sort by recently updated
recently updated
newest added

Thanks for this great gem. Does this support rails 6?

If using a custom renderer it is not possible to use the `tag` helper which is a shorter variant for `content_tag` and is preferred by Rails style guides. The `SimpleNavigation::Renderer::Base`...

Initialization of this gem triggers a deprecation warning in rails 6: ``` DEPRECATION WARNING: Initialization autoloaded the constants ActionText::ContentHelper and ActionText::TagHelper. Being able to do this is deprecated. Autoloading during...

A great gem! Unfortunately I have issues getting it to work properly for CRUD routes. Maybe you can point me to a solution. I followed the advice in #37 to...

Tests are failing with Rails 5. Please enable the same. Here are the logs: ``` Failures: 1) SimpleNavigation::Renderer::List#render sets the right html classes on the rendered 'ul' tag Failure/Error: let(:output)...

When there is an error in the navigation config, the stack trace won't include a pointer to the actual config file and line but only something like ``` (eval):5:in `block...

The `README.md` states: > To run the test suite locally against all supported frameworks: > > % bundle install > % rake spec:all But this results in ``` > rake...

Hi, When generating the configuration in a rails 4 app with simple-navigation 4.0.3, the generated config does not seem to work. For example I have this line: ``` ruby primary.item...

I use custom renderer, and in some places has double classes('selected selected'). May be problem in SimpleNavigation::Item.html_options, if I call it twice I get double classes (if I set any...

From issue https://github.com/codeplant/simple-navigation/issues/132 Example (custom renderer): ``` ruby class ContentListRenderer < SimpleNavigation::Renderer::List private def list_content(item_container) item_container.items.map { |item| li_options = item.html_options.except(:link) li_content = tag_for(item) li_content = item.content_before + li_content +...