lib/draper/view_context.rb in draper-0.16.0 vs lib/draper/view_context.rb in draper-0.17.0

- old
+ new

@@ -1,8 +1,8 @@ module Draper module ViewContext def self.current - Thread.current[:current_view_context] || view_context + Thread.current[:current_view_context] || ApplicationController.new.view_context end def self.current=(input) Thread.current[:current_view_context] = input end