Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
rstacruz committed Jun 11, 2012
1 parent 19d4063 commit 62ed6c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mmdoc/lib/mmdoc/page_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def nav_breadcrumbs
#
# Returns a string to be used in an HTML tag's `class` attribute.
def item_class(page)
here = current_page
[
('active' if page.path == here.path),
('more' if page.children.any?)
Expand Down

0 comments on commit 62ed6c2

Please sign in to comment.