Accessing Spree routes from outside a controller

Some custom reports I was adding to Spree required links back to the products being listed. Accessing the Spree routes is slightly different to accessing normal Rails routes from outside a controller/view:

  • Dinh Hoang Hiep

    Thanks so much!