387878f39c
When we reassign controller it is the right thing to do to clear current view context stored in request store. Consider a case when view context was built before the request was made (usage of `h` helper in class level context). View context is built from default controller and has no information about the request. During first request `Draper::ViewContext.current.controller` will be different than `Draper::ViewContext.controller`. |
||
---|---|---|
.. | ||
draper | ||
dummy | ||
generators | ||
integration | ||
performance | ||
support | ||
spec_helper.rb |