Browse files

Updated CHANGES for menu/breadcrumb styling.

  • Loading branch information...
1 parent 60d84ff commit 965e40bd3f87734365dd470f33d69130cf82a748 @gma committed Oct 14, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 CHANGES
@@ -30,6 +30,18 @@
(Sean Schofield)
+ * The menu and breadcrumb helper methods can now generate HTML that
+ identifies the current page. When viewing a page that appears in the
+ menu, its menu item will have the class "current". To change the name
+ of the class, override the Nesta::Navigation::current_menu_item_class
+ method.
+ The current page doesn't have a class applied by default. If you want
+ to add a class to style it, override the ::current_breadcrumb_class
+ method (also in the Nesta::Navigation module), returning a string.
+ (Pete Gadomski)
* The 'Read more' link text is now configurable. The config key is
called `read_more`. (Pete Gadomski)

0 comments on commit 965e40b

Please sign in to comment.