This line is also on the master branch. https://github.com/halo/spree_digital/blob/master/app/controllers/spree/admin/orders_controller_decorator.rb#L3.

I tested against Spree 2.0.4 and received "undefined method `reset_digital_links!' for nil:NilClass" without this line.