lib/simple_navigation/item_container.rb in simple-navigation-2.7.0 vs lib/simple_navigation/item_container.rb in simple-navigation-2.7.1

- old
+ new

@@ -27,10 +27,10 @@ # be rendered (e.g. <tt>:if => Proc.new { current_user.admin? }</tt>). The # proc should evaluate to a true or false value and is evaluated in the context of the view. # * <tt>:unless</tt> - Specifies a proc to call to determine if the item should not # be rendered (e.g. <tt>:unless => Proc.new { current_user.admin? }</tt>). The # proc should evaluate to a true or false value and is evaluated in the context of the view. - # * <tt>:method</tt> - Specified the http-method for the generated link - default is :get. + # * <tt>:method</tt> - Specifies the http-method for the generated link - default is :get. # * <tt>:highlights_on</tt> - if autohighlighting is turned off and/or you want to explicitly specify # when the item should be highlighted, you can set a regexp which is matched againstthe current URI. # # The <tt>block</tt> - if specified - will hold the item's sub_navigation. def item(key, name, url, options={}, &block) \ No newline at end of file