jcasimir/draper — pull request #213 by carlosantoniodasilva (2012-05-28 13:02:29+00:00)
Title: Include view and helper extensions in current context

Instead of including extensions in hardcoded `ActionController::Base`, use the current context from AS on_load hook, which in most cases should be `ActionController::Base`, but may change in scenarios such as `ActionController::API` (using the rails-api gem).

See spastorino/rails-api#28 for more info.

Closes #212