Modify preview.html template to expect shortened url object
Modify preview.html template to expect shortened url object

This commit modifies the template, so that now we can pass whole shortened
url object to a function rendering it, instead of passing its short_url and
target properties separately.

piotr-rusin/url-shortener,piotr-rusin/url-shortener