Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Coding style.

  • Loading branch information...
commit 60d84ff964f798689aaacb384db74b90f36a9766 1 parent dec25a0
@gma authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 lib/nesta/navigation.rb
View
8 lib/nesta/navigation.rb
@@ -51,7 +51,9 @@ def display_breadcrumbs(options = {})
end
end
end
- haml_tag(:li, :class => current_breadcrumb_class) { haml_concat link_text(@page) }
+ haml_tag(:li, :class => current_breadcrumb_class) do
+ haml_concat link_text(@page)
+ end
end
end
@@ -72,11 +74,11 @@ def current_item?(item)
end
def current_menu_item_class
- "current"
+ 'current'
end
def current_breadcrumb_class
- ""
+ nil
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.