From ebedbf60d9743dac79917583fb6bb44017f4f0a4 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Wed, 4 Sep 2013 16:00:28 -0700 Subject: [PATCH] make route regex accept all characters --- flatiron-director/flatiron-director.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flatiron-director/flatiron-director.html b/flatiron-director/flatiron-director.html index 3deaace..7467066 100644 --- a/flatiron-director/flatiron-director.html +++ b/flatiron-director/flatiron-director.html @@ -12,7 +12,7 @@ Polymer('flatiron-director', { autoHash: false, created: function() { - this.router.on(/(\w*)/, function(route) { + this.router.on(/(.*)/, function(route) { this.route = route; }.bind(this)); var initialRoute = this.router.getRoute(0);