josevalim/inherited_resources — Issue #199: undefined custom action url helper
Author: jachenry
Created: 2012-01-29 08:46:35+00:00
State: open

I'm getting the following exception whenever I use the url helpers generated for a custom action.

```
undefined method `archive_polymorphic_path' for #
```

Here is the controller where the custom action is defined.

```ruby
class PrototypesController < ApplicationController
inherit_resources

belongs_to :account, :optional => true do
belongs_to :project
end

custom_actions :resource => [:archive]
end
```