lib/simple_navigation.rb in simple-navigation-2.0.1 vs lib/simple_navigation.rb in simple-navigation-2.1.0

- old
+ new

@@ -1,11 +1,13 @@ # Load all source files (if this is not done explicitly some naming conflicts may occur if rails app has classes with the same name) require 'simple_navigation/configuration' require 'simple_navigation/helpers' require 'simple_navigation/controller_methods' +require 'simple_navigation/item_adapter' require 'simple_navigation/item' require 'simple_navigation/item_container' +require 'simple_navigation/items_provider' require 'simple_navigation/renderer/base' require 'simple_navigation/renderer/list' # A plugin for generating a simple navigation. See README for resources on usage instructions. module SimpleNavigation @@ -112,5 +114,9 @@ # 3) add JoinRenderer (HorizontalRenderer?) (wich does not render a list, but just the items joined with a specified char (e.g. | )) # # 4) Enhance SampleProject (more examples) # # 5) Make SampleProject public +# +# - allow :function navigation item to specify function +# - allow specification of link-options in item (currently options are passed to li-element) +# - render_navigation: do not rescue from config-file not found error if no items are passed in directly \ No newline at end of file