lib/trestle/controller/breadcrumbs.rb in trestle-0.9.1 vs lib/trestle/controller/breadcrumbs.rb in trestle-0.9.2

- old
+ new

@@ -8,10 +8,10 @@ helper_method :breadcrumb end protected def breadcrumbs - @breadcrumbs ||= Breadcrumb::Trail.new(Trestle.config.root_breadcrumbs) + @_breadcrumbs ||= Breadcrumb::Trail.new(Trestle.config.root_breadcrumbs) end def breadcrumb(label, path=nil) breadcrumbs.append(label, path) end