lib/nesta/navigation.rb in nesta-0.13.0 vs lib/nesta/navigation.rb in nesta-0.14.0
- old
+ new
@@ -62,14 +62,9 @@
rescue LinkTextNotSet
return 'Home' if page.abspath == '/'
raise
end
- def breadcrumb_label(page)
- Nesta.deprecated('breadcrumb_label', 'use link_text')
- link_text(page)
- end
-
def current_item?(item)
request.path_info == item.abspath
end
def current_menu_item_class