josevalim/inherited_resources — Issue #205: Attempting to get redirect path for XHR requests
Author: brokenladder
Created: 2012-02-03 00:33:14+00:00
State: open

Say I have PersonController, and I do a create on a Manager (where Manager inherits from person). This will cause an error because there is no manager_path.

Makes sense, right?

But this happens EVEN if I do it as an XHR create. In which case it seems like a bug to try to create the redirect path even when no redirect should be happening.

Thank you.