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

Cant use in --api only project #6

Closed
d4be4st opened this issue May 9, 2018 · 1 comment
Closed

Cant use in --api only project #6

d4be4st opened this issue May 9, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@d4be4st
Copy link

d4be4st commented May 9, 2018

Because of the use of helper_method in here: https://github.com/palkan/action_policy/blob/master/lib/action_policy/rails/controller.rb#L26

ActionController::API does not have a helper_method method and it breaks.

@palkan palkan added the bug Something isn't working label May 9, 2018
@palkan palkan closed this as completed in 46f08f4 May 9, 2018
@palkan
Copy link
Owner

palkan commented May 9, 2018

Thanks for the report!

Fixed and released as 0.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants