Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Basic newbie issue #537
I've got a very basic problem trying to protect a custom action where, no matter what I try, I keep getting "You are not authorized to access this page."
I've also tried without success
or sometimes I get an error: CanCan::Error: The accessible_by call cannot be used with a block 'can' definition. Basically I'm at the wall at must be doing something really stupid since this isn't that complicated of a use case. Any help would be greatly appreciated!