Note about improvement to create_digital_links
This commit is contained in:
@@ -9,7 +9,7 @@ Spree::LineItem.class_eval do
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# Create the download link for this item if it is digital.
|
# TODO there is no reason to create the digital links until the order is complete
|
||||||
def create_digital_links
|
def create_digital_links
|
||||||
digital_links.delete_all
|
digital_links.delete_all
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user