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

Already on GitHub? Sign in to your account

Just add singleton to description of authorize_resource #587

merged 1 commit into from May 10, 2012


None yet
3 participants

route commented Mar 22, 2012

Inside controller I don't use load_resource and just write authorize_resource. But this controller declared as resource in routing file and I was a bit confused when I was trying to understand why a nil comes to can rule in abilities. And it was because I had missed :singleton => true for authorize_resource.


jeremyf commented May 10, 2012

[verified] This is a documentation only update.

ryanb added a commit that referenced this pull request May 10, 2012

Merge pull request #587 from route/patch-1
Just add singleton to description of authorize_resource

@ryanb ryanb merged commit 78e1a17 into ryanb:master May 10, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment