lib/gretel/crumb.rb in gretel-2.0.0 vs lib/gretel/crumb.rb in gretel-2.1.0
- old
+ new
@@ -33,9 +33,11 @@
@parent = Gretel::Crumb.new(context, key, *args)
end
# Key of the breadcrumb.
attr_reader :key
+
+ # The current view context.
attr_reader :context
# Proxy to view context
def method_missing(method, *args, &block)
context.send(method, *args, &block)