Update digitals_controller.rb from master branch

It taken from https://github.com/halo/spree_digital/blob/master/app/controllers/spree/digitals_controller.rb
Fix undefined error for rails 3.2
Merge pull request #1 from camelmasa/add-redirect_url-to-spree_digitals

Updare digitals_controller.rb