Use with ActionController::Metal
maletor opened this issue · 2 comments
maletor commented
Would be nice if you could just drop in
include Authorization::AuthorizationInController
include ActionController::HideActions
to get declarative_authorization rolling with ActionController::Metal
. Unfortunately, the use of logger
and not Rails.logger
prevents this and one has to override.
def logger
Rails.logger
stffn commented
So you argue to have this included generally? Can you provide a pull request?
maletor commented
Yes.