Convert 1.9 to 1.8 syntax. Fixes #23

This commit is contained in:
Dave Mitchell
2012-07-09 12:17:04 -06:00
committed by Michael Bianco
parent 37fe465dd9
commit b381ede8e1

View File

@@ -1,6 +1,6 @@
module Spree
class Admin::DigitalsController < Spree::Admin::ResourceController
belongs_to "spree/product", find_by: :permalink
belongs_to "spree/product", :find_by => :permalink
protected
def location_after_save