Note about improvement to create_digital_links

This commit is contained in:
Michael Bianco
2012-11-26 10:17:39 +01:00
parent e6f8d6b4cc
commit 8d44a25199

View File

@@ -9,7 +9,7 @@ Spree::LineItem.class_eval do
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
digital_links.delete_all