Add title to photos count in set thumb
Wrap redirects with to()

This is the proper way to do a redirect in Sinatra.
Rewrite in Ember.js