lib/draper/helper_proxy.rb in draper-1.1.0 vs lib/draper/helper_proxy.rb in draper-1.2.0
- old
+ new
@@ -14,9 +14,11 @@
def method_missing(method, *args, &block)
self.class.define_proxy method
send(method, *args, &block)
end
+ delegate :capture, to: :view_context
+
protected
attr_reader :view_context
private