lib/draper/view_context.rb in draper-0.8.1 vs lib/draper/view_context.rb in draper-0.9.0

- old
+ new

@@ -1,8 +1,8 @@ module Draper module ViewContext def set_current_view_context - Thread.current[:current_view_context] ||= self.view_context + Thread.current[:current_view_context] = self.view_context end def self.included(source) source.send(:before_filter, :set_current_view_context) end \ No newline at end of file