url variable isn't defined, added it from latest spree
Merge pull request #53 from jdatti/master

url variable isn't defined and getting a runtime error because of it, added it from latest spree