gregbell/active_admin — Issue #919: Getting CanCan::AuthorizationNotPerformed when creating comments
Author: davidkariuki
Created: 2012-01-18 19:17:07+00:00
State: open

I'm getting

```CanCan::AuthorizationNotPerformed in Admin::CommentsController#create This action failed the check_authorization because it does not authorize_resource. Add skip_authorization_check to bypass this check.
```

when I try to post a comment. The weird thing is that comments are created anyway. I have ```check_authorization``` in my application controller so every action needs to be authorized but I'm not sure how to authorize Admin::CommentsController#create.