citrus/spree_wholesale — Issue #8: Routing error to /admin/products/variants
Author: NimoII
Created: 2011-11-27 02:13:00+00:00
State: open

I get this error when I go to "variants" sub-menu in page edit products (admin panel):

Routing Error
undefined local variable or method `new_action' for Admin::VariantsController:Class

Others sub-menu are ok, but only this.
I've tried to debug and found out the error's source is the class in admin/resouce_controller.rb, then I temporary removed it from project and "variants" submenu came back to work.
I new to Rails so I don't really understand how this class affects the routes.

Is there any suggest?

Thanks