Skip to content

Commit

Permalink
[frontend] Stop people encountering uninitialized Taxon errors when t…
Browse files Browse the repository at this point in the history
…hey override ProductsController#show
  • Loading branch information
radar committed Oct 11, 2013
1 parent ae5c206 commit 9f64227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/controllers/spree/products_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f64227

Please sign in to comment.