ryanb/cancan — pull request #963 by randaalex (2013-11-14 08:06:49+00:00)
Title: Fix detecting resource name with inhereted resources

When controller has custom resource_classб method parent? returns wrong value.