diff --git a/frontend/app/controllers/spree/products_controller.rb b/frontend/app/controllers/spree/products_controller.rb index 63862dc1192..8e283a8f053 100644 --- a/frontend/app/controllers/spree/products_controller.rb +++ b/frontend/app/controllers/spree/products_controller.rb @@ -26,7 +26,7 @@ def show # Do nothing else if referer_path && referer_path.match(/\/t\/(.*)/) - @taxon = Taxon.find_by_permalink($1) + @taxon = Spree::Taxon.find_by_permalink($1) end end end