simple_navigation
simple_navigation copied to clipboard
Navigation menu builder for Ruby on Rails
The home page url contained invalid url. I've just replaced with valid one: s.homepage = %q{http://github.com/thisivan/simple_navigation}. The old URL was http://github.com/mexpolk/simple_navigation.
That would be good if SimpleNavigation::Item would accept lambdas as url attr. That way I can use routes for resources. I extended SimpleNavigation::Item as: class SimpleNavigation::Item def url; @url.is_a?(Proc) ?...
How do i add other method than GET?
Is there a way to specify a diffrent class to the "ul" element that gets created?