Permalink
Browse files

Namespace Taxonomy reference in Spree::BaseController

A user, beneggett, reported that sans-namespace reference was causing uninitialized constant Spree::BaseController::Taxonomy
  • Loading branch information...
1 parent d07f02c commit b61fc624b0bf3c2d71ddd5dd33f38e3d13be181e @radar radar committed Jun 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/app/controllers/spree/base_controller.rb
@@ -133,7 +133,7 @@ def redirect_back_or_default(default)
end
def get_taxonomies
- @taxonomies ||= Taxonomy.includes(:root => :children).joins(:root)
+ @taxonomies ||= Spree::Taxonomy.includes(:root => :children).joins(:root)
end
def set_user_language

0 comments on commit b61fc62

Please sign in to comment.