Permalink
Browse files

[core] VariantsController inherits wrong class

  • Loading branch information...
1 parent dece1ea commit d229751cd64b8fe74d6d3e161b49c8ffcbdad515 @joneslee85 joneslee85 committed Oct 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/app/controllers/spree/admin/variants_controller.rb
@@ -1,6 +1,6 @@
module Spree
module Admin
- class VariantsController < Admin::ResourceController
+ class VariantsController < ResourceController
belongs_to 'spree/product', :find_by => :permalink
create.before :create_before
new_action.before :new_before

0 comments on commit d229751

Please sign in to comment.