ProtectedMethod/restful_acl — pull request #11 by codeodor (2011-10-29 14:43:04+00:00)
Title: Make restful_acl check the url params for the parent if it doesn't find it in a nested route style URL

The impetus behind this was my Rails project that has routes where one controller could be a top level or nested. In this case, in the tests I could not generate the URL as a nested route - instead it only passed the parent_id via normal URL params.

So, I added a check for the parent that does not force us to use nested routes.