codeplant / simple-navigation

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.
http://simple-navigation-demo.codeplant.ch/
MIT License
885 stars 136 forks source link

Feature to provide context for Configuration.run method #190

Closed pineapplethief closed 5 years ago

pineapplethief commented 8 years ago

As of now, I have to keep 4-5 files in config folder for different menus, each 5 lines long, which is super messy and clutters config folder. It would be much more explicit and nicer to be able to provide context name in Configuration.run method as a parameter.

andi commented 8 years ago

Sounds like a valid feature... It would be nice if you could help with this and send a PR...