draper/lib
Bartek Bułat 387878f39c Clean view context when controller changes (#799)
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`.
2017-05-08 09:23:13 -05:00
..
draper Clean view context when controller changes (#799) 2017-05-08 09:23:13 -05:00
generators ApplicationDecorator generator (#796) 2017-04-05 13:43:27 -05:00
draper.rb Add support for Rails 5 API-only applications (#793) 2017-04-03 08:19:42 -05:00