Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use with ActionController::Metal #169

Closed
maletor opened this issue Jan 9, 2013 · 2 comments
Closed

Use with ActionController::Metal #169

maletor opened this issue Jan 9, 2013 · 2 comments

Comments

@maletor
Copy link

maletor commented Jan 9, 2013

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
Copy link
Owner

stffn commented Jan 20, 2013

So you argue to have this included generally? Can you provide a pull request?

@maletor
Copy link
Author

maletor commented Jan 20, 2013

Yes.

@maletor maletor closed this as completed Jan 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants