decode widget URLs

 On branch master

	modified:   controllers/gallery.coffee
	modified:   themes/pinfinity/templates/gallery/index.html