Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Home

Andi Schacke edited this page · 7 revisions

simple-navigation is a ruby gem for creating navigations (with multiple levels) for your Rails3, Rails4, Sinatra or Padrino applications. You can render your navigation as HTML list, link list or breadcrumbs.

To see the gem/plugin in action please visit the online demo.

Upgrade hint for v4.0.0

This release mainly consists of internal refactorings. However, there is a change in how to set HTML attributes of generated list items and links. To set HTML attributes, use the following options in your navigation.rb file:

primary.item :books, 'Books', books_path, html: {class: 'my-li-class'}, link_html: {class: 'my-link-class'}

Please change your config files accordingly.

Table of contents

Ruby/Rails Compliance

The simple-navigation gem is tested against the following versions of Ruby:

  • 2.0.0
  • 2.1.5
  • 2.2.1

and the following versions of Rails:

  • last stable 3.2
  • last stable 4.1
  • last stable 4.2

Credits

We would like to thank the whole community for the feedback and inspiration. Special thanks goes to the following contributors for providing patches, enhancements, ideas and support.

Please also check out the complete list of contributors.

Something went wrong with that request. Please try again.